A progressive Node.js framework for building efficient and scalable server-side applications.
Nest framework TypeScript Chat Backend application.
Description:
- Get all users.
Description:
- Get user by ID in parameters.
Description:
- Create a user with a given body.
Body:
- {username: string, password: string,firstname: string,lastname: string}
Description:
- Delete the specified :id user from the Database.
Description:
- Add JWT token to cookie and return user upon successful authentication with body.
Body:
- {username: string, password: string}
$ npm install
# 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
npx typeorm-ts-node-commonjs migration:generate ./src/database/migrations/nameDescription -d ./src/database/dataSource.ts
npx typeorm-ts-node-commonjs migration:run -d ./src/database/dataSource.ts
npx typeorm-ts-node-commonjs migration:revert -d ./src/database/dataSource.ts