nextjs-edgedb-auth-template
nextjs-edgedb-auth-template copied to clipboard
A minimal starter designed to help you get up and running with EdgeDB and Next.js quickly. It includes a basic setup for authentication, EdgeDB schema, and a UI to get you started.
First of all thank you Alexandra and Scott for the work! This was a good head-start :) I've noticed your User object has no access policy: https://github.com/edgedb/nextjs-edgedb-auth-template/blob/95dcd9525c39b070873fe842db440f8470f73e90/dbschema/default.esdl#L13 This means any...
Hey! This is a great starting guide for auth and next.js, but naturally, the next step would be deploying this. I spent some time trying to figure it all out...
I received this error when deploying the fresh repo to vercel. ``` Failed to compile. -- 17:31:01.972 | 17:31:01.972 | ./app/dashboard/page.tsx:35:14 17:31:01.973 | Type error: Type '{ name: string; id:...
`pnpm dev` seems to force `NODE_ENV=development` (at least the app ignores `.env`), and so the EdgeDB client ends up with tlsSecurity=insecure, which does not work with Cloud. Not sure if...
pnpm auth:setup not working. password-auth-setup.ts not in repo. ``` pnpm auth:setup > @ auth:setup /Users/srmMB/Documents/GitHub/_Live/nextjs-edgedb-auth-template-main > pnpm esr password-auth-setup.ts Usage: esr [options] [file-options] --cache Transform on a file per file...
When testing with two (or more) users with each having created ToDo items the dashboard errors. I believe the schema lines 40, 41 are the cause. ``` access policy everyone_insert_only...