Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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/)