-
clone the repository
-
add env variables to the system as per
.env.example
or create.env.development
(for development server) /.env.production
, a.env.development
will also be sent via email -
postgres is required to run this project, a
docker-compose.yml
file may be used to run postgres and optionally adminer using docker
docker-compose up
- run the development server
pnpm run start:dev
- build the application
pnpm run build
- start using
pnpm run start:prod
Please find nest-youtube-postman_collection.json
in the root of the folder
add baseUrl env variable to the project settings (if not available)
http://localhost:3000
- Sign up using the the route in Users/signup
- Login using Users/signin and copy the jwt token from the response body
- Open project Authorization settings and set Authorization to
Bearer Token
and paste the token inToken
field, this token will be sent on all requests