The goal is to create a Server application with Nest.js written in TypeScript with the following requirement :
-
The application can start with only two commands:
npm install
and
npm start
-
The application has a system of authentication. I need to be able to register and I need to be able to log in.
-
The application has a call allowing a registered user only to see all the users created.
The API provides the following features or endpoints:
Register a user
Login user
Fetch all users
Update a user
This app was built with Nest framework TypeScript starter repository.
- App deployed to 🚀 Heroku
$ npm install
Create a .env
file in your root directory with the variables specified in config/env.configuration.ts
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
- Author - Okafor Ifeoma Sandra