Full-stack authentication demo with NestJS (JWT) and Angular + Angular Material, runnable via Docker Compose.
- Backend: NestJS 8, PostgreSQL, JWT
- Frontend: Angular 12, Angular Material
- Infra: Docker Compose 3.8
- User authentication with JWT
- Separate API and SPA containers
- Local development with hot reload volumes
- Debug port exposed for the NestJS API (
9229)
docker-compose up| Service | URL |
|---|---|
| Frontend | http://localhost:4200 |
| API | http://localhost:3000 |
backend/ NestJS API
frontend/ Angular app
docker-compose.yml
Default Compose env includes local Postgres credentials and a development JWT secret — change these before any non-local use.
Thanks to @ThomasOliver545 for reference material that helped shape this project.