https://github.com/stlbucket/nuxt-supabase-stlbucket
https://github.com/stlbucket/nuxt-supabase-stlbucket
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/stlbucket/nuxt-supabase-stlbucket
- Owner: stlbucket
- License: mit
- Created: 2023-09-19T17:21:10.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-19T19:58:25.000Z (almost 3 years ago)
- Last Synced: 2025-04-01T00:31:38.076Z (about 1 year ago)
- Language: TypeScript
- Size: 1.87 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
[](https://supabase.nuxtjs.org)
# Nuxt Supabase
[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![License][license-src]][license-href]
[![Nuxt][nuxt-src]][nuxt-href]
[![Volta][volta-src]][volta-href]
> [Supabase](https://supabase.com) module for [Nuxt](https://v3.nuxtjs.org)
- [✨ Changelog](https://supabase.nuxtjs.org/changelog)
- [📖 Read the documentation](https://supabase.nuxtjs.org)
- [▶ Video](https://www.youtube.com/watch?v=jIyiRT6zT8Q)
- [👾 Demo](./demo)
## DO NOT USE THIS REPOSITORY! IT IS A COPY OF @NUXTJS/SUPABASE MEANT TO EXPLORE REWORK OF CONFIGURATION
Summary of changes:
- removed process.env.*** references
- added useSupabaseModuleOptions composable
- added serverSupabaseModuleOptions service
- reworked supabase client instantiation to use new SupabaseModuleOptions
- added runtime-config and supabase-module-options server api endpoints and display in playground UI
## Features
- Nuxt 3 ready
- Vue 3 composables
- Usage in API server routes
- Authentication support
- Use supabase-js isomorphic client
- TypeScript support
## Usage
Checkout https://supabase.nuxtjs.org
## Nuxt 2
If you are looking for a solution with Nuxt 2, checkout https://github.com/supabase-community/nuxt-supabase
## Development
1. Clone this repository
2. Install dependencies using `yarn install` or `npm install`
3. Prepare development server using `yarn dev:prepare` or `npm run dev:prepare`
4. Build module using `yarn build` or `npm build`
5. Launch playground using `yarn dev` or `npm run dev`
## License
[MIT License](./LICENSE)
[npm-version-src]: https://img.shields.io/npm/v/@nuxtjs/supabase/latest.svg?style=flat&colorA=18181B&colorB=28CF8D
[npm-version-href]: https://npmjs.com/package/@nuxtjs/supabase
[npm-downloads-src]: https://img.shields.io/npm/dt/@nuxtjs/supabase.svg?style=flat&colorA=18181B&colorB=28CF8D
[npm-downloads-href]: https://npmjs.com/package/@nuxtjs/supabase
[github-actions-ci-src]: https://github.com/nuxt-community/supabase-module/workflows/ci-main/badge.svg
[github-actions-ci-href]: https://github.com/nuxt-community/supabase-module/actions?query=workflow%3Aci
[codecov-src]: https://img.shields.io/codecov/c/github/nuxt-community/supabase-module.svg?style=flat&colorA=18181B&colorB=28CF8D
[codecov-href]: https://codecov.io/gh/nuxt-community/supabase-module
[license-src]: https://img.shields.io/npm/l/@nuxtjs/supabase.svg?style=flat&colorA=18181B&colorB=28CF8D
[license-href]: https://npmjs.com/package/@nuxtjs/supabase
[nuxt-src]: https://img.shields.io/badge/Nuxt-18181B?logo=nuxt.js
[nuxt-href]: https://nuxt.com
[volta-src]: https://user-images.githubusercontent.com/904724/209143798-32345f6c-3cf8-4e06-9659-f4ace4a6acde.svg
[volta-href]: https://volta.net/nuxt-modules/supabase?utm_source=readme_nuxt_supabase