A progressive Node.js framework for building efficient and scalable server-side applications.
A fund transfer service that handle user creation, account creation, funding, credit/debit, transactions, and authentication.
- Error handling middleware (src/middleware/error.middleware.ts)
- Request logging middleware (src/middleware/request-logging.middleware.ts)
- Validation handling middleware (src/middleware/validation.middleware.ts)
- AuthGuard middleware (src/auth/auth.guard.ts)
- JWT Service middleware (src/auth/jwt.service.ts)
Change to the a right DB config in the .env below
DB_HOST=""
DB_PORT=
DB_USERNAME=""
DB_PASSWORD=""
DB_DATABASE=""
# copy to .env
$ cp .env.sample .env
# update .env
$ vim .env
npm install
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
$ visit: http://SERVER_NAME_PI:PORT/docs # http://127.0.0.1:3000/docs
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.
- Author - Akinshola Samuel AKINDE
- Website - https://akinshola.com
- Twitter - @thisishaykins
- GitHub - @thisishaykins
Nest is MIT licensed. Nest Website - https://nestjs.com