This API handles user registration, login, and profile management with avatar and photo uploads.
Project Stack: NestJS, Postgres, Typescript, Docker
To start the application in development mode:
-
Clone this repo.
-
Copy the
.env
file provided into the api root folder. -
Certify you have Docker installed in your machine.
-
In the terminal, Navigate to the project's directory where the
Dockerfile
anddocker-compose.yml
files are located. You should For example:
cd Documents/umt-api
- Build the Dokcer Image based on
Dockerfile
docker build -f Dockerfile .
- Start the application running Docker Compose. This defines the services, networks and volumes based on your
docker-compose.yml
docker compose up
- Use the Postman collection provided to test the API.
- API Link: http://localhost:3000/api/
- API Documentation link: http://localhost:3000/api/docs
- PGAdmin link: http://localhost:5050/
- Check the user and password in the
.env
file.
- Check the user and password in the