Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Auth

Full-stack authentication demo with NestJS (JWT) and Angular + Angular Material, runnable via Docker Compose.

Stack

  • Backend: NestJS 8, PostgreSQL, JWT
  • Frontend: Angular 12, Angular Material
  • Infra: Docker Compose 3.8

Features

  • User authentication with JWT
  • Separate API and SPA containers
  • Local development with hot reload volumes
  • Debug port exposed for the NestJS API (9229)

Quick start

docker-compose up
Service URL
Frontend http://localhost:4200
API http://localhost:3000

Project layout

backend/     NestJS API
frontend/    Angular app
docker-compose.yml

Notes

Default Compose env includes local Postgres credentials and a development JWT secret — change these before any non-local use.

Credits

Thanks to @ThomasOliver545 for reference material that helped shape this project.

About

Full-stack auth with NestJS, JWT, Angular Material, and Docker Compose

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages