Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/daoodaba975/next.supabase.auth
Example of how to use the Next JS with Supabase for auth & account management.
https://github.com/daoodaba975/next.supabase.auth
Last synced: 12 days ago
JSON representation
Example of how to use the Next JS with Supabase for auth & account management.
- Host: GitHub
- URL: https://github.com/daoodaba975/next.supabase.auth
- Owner: daoodaba975
- Created: 2022-03-12T20:47:16.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-12-19T18:58:54.000Z (about 1 month ago)
- Last Synced: 2024-12-19T19:42:45.024Z (about 1 month ago)
- Language: JavaScript
- Homepage:
- Size: 191 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Next Supabase Auth 🔐
This is a simple example of how to use the Next with Supabase for Auth & account management.
Supabase is the Open Source alternative to Firebase.What you can do with this example:
* users can sign in with magic links
* users can store their data in Supabase## Getting Started
Add Supabase **API URL** & **ANON Key** to the `.env.local` file:
```bash
NEXT_PUBLIC_SUPABASE_URL=YOUR_SUPABASE_URL
NEXT_PUBLIC_SUPABASE_ANON_KEY=YOUR_SUPABASE_ANON_KEY
```Run the development server:
```bash
npm run dev
# or
yarn dev
```Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
## More
[Supabase & Next.js guide](https://supabase.com/docs/guides/with-nextjs)
[Supabase docs](https://supabase.com/docs/)