The Powerful NestJS
A progressive Node.js framework for building efficient and scalable server-side applications.
Clean Architecture
The project has been developed thinking about concepts of Clean Architecture, in a nutshell, I spread the functionalities in layers to better meet the responsibilities.
Our Domain
is responsible to keep entities and use-cases. Application
layer is responsible for introducing controllers. Infra
layer has the responsibility to become a gateway between our application and third packages, and last but not least, there's the Main
layer, better known as a "dirty layer", because the Main
will connect each part of the project.
TypeORM
TypeORM is an ORM that can run in NodeJS, Browser, Cordova, PhoneGap, Ionic, React Native, NativeScript, Expo, and Electron platforms and can be used with TypeScript and JavaScript (ES5, ES6, ES7, ES8). Its goal is to always support the latest JavaScript features and provide additional features that help you to develop any kind of application that uses databases - from small applications with a few tables to large scale enterprise applications with multiple databases.
Getting Started
Installation
$ npm install
Running the app
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
Test
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
Support
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.
License
Nest is MIT licensed.