Fullstack Next.js shopping-plan app.
- Node.js 22+
- Postgres
Install dependencies:
npm installCreate .env from .env-example and set DATABASE_URL and AUTH_SECRET.
Start Postgres:
docker compose up -d postgresRun migrations:
npm run db:migrateSeed the development demo user:
npm run db:seedBy default the development user is:
- Email:
demo@example.com - Password:
password
Start the development server:
npm run devDevelopment uses the seeded credentials user. Production uses Google OAuth, so set:
GOOGLE_CLIENT_IDGOOGLE_CLIENT_SECRETAUTH_SECRETDATABASE_URL
npm run lint
npx tsc --noEmit
npm run build