A progressive Node.js framework for building efficient and scalable server-side applications, heavily inspired by Angular.
Description
In this tutorial, you'll get introduced to Nest.js by building your first REST API CRUD application with this framework which is built on top of Node.js, Express.js and TypeScript and inspired by Angular.
We'll be using TypeORM as the ORM to abtract away the differences between the various database management system. We'll be using SQLite because it doesn't need any special installation in but you can very much use any database supported by TypeORM like MySQL or Oracle.
Read Nest.js Tutorial: Build your First REST API CRUD App with TypeORM
$ git clone https://github.com/techiediaries/nestjs-crud-rest-api.git
Installation
$ cd nestjs-crud-rest-api
$ npm install
Running the app
# development
$ npm run start
# watch mode
$ npm run start:dev
# incremental rebuild (webpack)
$ npm run webpack
$ npm run start:hmr
# production mode
$ npm run start:prod
Test
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
License
Nest is MIT licensed.