rsnext/examples/with-supabase-auth-realtime-db
Nick Babcock 5629223407
Update examples to use React 17 (#26133)
[With next 11 requiring react 17](https://nextjs.org/blog/next-11#upgrade-guide), most of the examples
need to be updated, so the following snippet updated all the examples to
a compatible react version.

```bash
cd examples/
fd -g 'package.json' | xargs sed -r -i 's/"react": ".*"/"react": "^17.0.2"/
fd -g 'package.json' | xargs sed -r -i 's/"react-dom": ".*"/"react-dom": "^17.0.2"/'

# exclude experimental react version
git checkout with-reason-relay/package.json
```
2021-06-16 16:43:26 +00:00
..
pages Update Supabase example. (#21200) 2021-01-19 07:10:56 -06:00
utils Update Supabase example. (#21200) 2021-01-19 07:10:56 -06:00
.env.local.example Update Supabase example. (#21200) 2021-01-19 07:10:56 -06:00
.gitignore examples: Add with-supabase-auth-realtime-db example. (#16016) 2020-08-13 05:03:09 +00:00
package.json Update examples to use React 17 (#26133) 2021-06-16 16:43:26 +00:00
README.md Update Supabase example. (#21200) 2021-01-19 07:10:56 -06:00
style.css Update Supabase example. (#21200) 2021-01-19 07:10:56 -06:00

Example: Supabase authentication client- and server-side (API routes), and SSR with auth cookie.

This example shows how to use Supabase auth on the client and server in both API routes and when using server side rendering (SSR).

Deploy with Vercel

The Vercel deployment will guide you through creating a Supabase account and project. After installation of the Supabase integration, all relevant environment variables will be set up so that the project is usable immediately after deployment 🚀

Deploy with Vercel

Feedback and issues

Please file feedback and issues over on the Supabase GitHub org.

More Supabase examples