A website that helps you find the right apartment
This will automatically format the staged files when creating a new commit.
cd backend
npm run setup-pre-commit-hooks
- Rename
backend/.env-example
tobackend/.env
- fill in the missing environment variables.
The following commands are available in the root of the project:
docker compose build # to build images (you'll need to do this once every time backend/package.json changes)
docker compose up # to start containers
docker compose down -v # to delete containers and erases all volumes (including the database contents)
The following commands are available in the backend
directory:
npm run format # to format the backend source files
Backend (Node.js) -> 3000
Database (PostgreSQL) -> 5432
Mailhog SMTP -> 1025
Mailhog Web UI -> 8025
MKDocs internal documentation -> 8000
Health check -> /
Swagger UI -> /api-docs