This repo contains a full scaffold: backend (Node/Express/Postgres), frontend (Vite+React PWA), docker-compose and CI.
- Clone repo to your machine.
- Install Docker and Docker Compose.
- From repo root run:
This starts Postgres, backend (port 4000) and frontend (port 3000).
docker compose up --build - Apply DB migrations and seed:
(If paths differ, run psql from your host using DATABASE_URL)
docker compose exec db psql -U postgres -d zylem -f /app/backend/src/db/migrations.sql docker compose exec db psql -U postgres -d zylem -f /app/backend/seed/seed.sql - Visit:
- Frontend: http://localhost:3000
- Backend API: http://localhost:4000
- Configure DATABASE_URL and JWT_SECRET in environment variables.
- Use a managed Postgres for production, and serve the frontend via CDN or static hosting.
- Replace the simple auth with hashed passwords and proper validation.