
E-com
A demo e-commerce store: shoppers browse and filter a product catalogue, keep a cart, check out and see their order history.
- JWT auth with token rotation and replay detection. Tokens live only in httpOnly cookies, set by a Next.js backend-for-frontend layer.
- Tested at every layer: Jest unit tests on both sides, backend end-to-end tests against a real Postgres, and two Playwright suites, one against a mocked backend and one against the real API.
- A GitHub Actions deploy builds the API's Docker image, runs the database migrations, and restarts the API only if they succeed.
- Next.js
- React
- TanStack Query
- Tailwind CSS
- NestJS
- TypeORM
- PostgreSQL
- Docker
- Caddy
