Starter repository for a fullstack app with:
web: React + Vite frontend served via Nginxapi: Fastify + Prisma backend for PostgreSQL.github/workflows/deploy.yml: container build and deployment workflow
Tiny edit.
.
├─ web/
├─ api/
├─ .github/workflows/deploy.yml
├─ deploy.config.example.yml
└─ README.md
cd web
npm install
npm run devcd api
npm install
npm run devnpm run dev now uses a local SQLite database at api/prisma/dev.db.
If you want to run API dev against PostgreSQL instead:
cd api
export DATABASE_URL="postgresql://postgres:postgres@localhost:5432/app"
npm run prisma:generate
npm run dev:postgresGET /healthGET /db/health