This is a Next.js project bootstrapped with c3.
- pnpm
- github account
generate your client_id and client_secret and set the following values in .env.local.
cp .env.local.example .env.localreplace the following values in .env.local with your own values.
AUTH_SECRET=<your secret>
AUTH_GITHUB_SECRET=<put your github client secret>
AUTH_GITHUB_ID=<put your github client id>
CLOUD_FEED_JWT_SECRET=<your secret>
name = <put your app name>
compatibility_date = "2024-04-05"
compatibility_flags = ["nodejs_compat"]
pages_build_output_dir = ".vercel/output/static"
[[d1_databases]]
binding = "DB" # i.e. available in your Worker on env.DB
database_name = <put your database name>
database_id = <put your database id>
preview_database_id = "DB"
migrations_dir = "drizzle/migrations"pnpm installpnpm migrateFirst, run the development server:
pnpm devOpen http://localhost:3000 with your browser to see the result.