A simple full‑stack example app for collecting and managing contact requests.
- Frontend: React, React Router, Tanstack Query, Tailwind
- Backend: Node.js, Express, Kysely
- Database: Postgres via Prisma schema (Kysely types generated with prisma‑kysely)
Prerequisites:
- Docker Desktop or Docker Engine
Clone the repo:
git clone https://github.com/cjvrd/project-template.gitOpen the repo folder:
cd project-templateBuild the docker containers:
docker compose up --buildFor development with auto-reload on file changes:
docker compose watchThen open:
- Frontend: http://localhost:5173
- Backend API: http://localhost:3000
- Postgres: localhost:5432 (user: postgres, password: postgres, db: postgres)
Base URL: http://localhost:3000
- GET
/contacts— list all contacts - POST
/contacts— create a new contact - DELETE
/contacts/:id— soft delete contact (status=DELETED) - PATCH
/contacts/:id— verify contact (verified=true)