Skip to content

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Give Garden

Give Garden is a cozy card-collection garden game built with Next.js, Clerk, Neon, and Drizzle.

Local setup

  1. Copy the variables from .env.example into .env.local.
  2. Add the Neon pooled connection string as DATABASE_URL.
  3. Apply the checked-in database migration with npm run db:migrate.
  4. Start the app with npm run dev.

The Clerk development application is already linked on this machine and its development keys are stored in the ignored .env.local file. Never commit that file.

Useful commands

  • npm run dev — run the local Next.js app.
  • npm run build — create and validate a production build.
  • npm run db:generate — generate migrations after changing db/schema.ts.
  • npm run db:migrate — apply pending migrations to the configured Neon database.
  • npm run db:studio — inspect the configured database with Drizzle Studio.

For production, configure a Clerk production instance and add the production Clerk keys, DATABASE_URL, and PLEDGE_SECRET_TOKEN to the hosting provider's environment variables.

About

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages