This is a sample project demonstrating how to use EdgeDB inside a Next.js project.
For the step-by-step tutorial associated with this project, refer to edgedb.com/docs/guides/tutorials/nextjs_pages_router
Install dependencies
npm install
Initialize project
edgedb project init
Generate query builder
npx @edgedb/generate edgeql-js
Seed the database
npm run seed
Start dev server
npm run dev
Open http://localhost:3000 with your browser to see the result.