It is a seed web API based application made using Node.js and nest.js framework for building efficient and scalable server-side applications, heavily inspired by Angular.
Nest framework TypeScript starter project.
The first step should be copy the .env.dist into .env.
$ cp .env.dist .envThe second step should be review the .env file and assign the variable of your relational database connection and create the database with its proper name.
The thirs step should be install the npm libraries required by the project and run the migrations.
$ npm install
$ ts-node ./node_modules/.bin/typeorm migration:run -t falseYou could enter on the API documentation clicking on the Swagger interface http://localhost:3000/api/index.html#/.
# 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# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:covts-node ./node_modules/.bin/typeorm migration:generate -n User
ts-node ./node_modules/.bin/typeorm migration:run -t falseNest 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 - José Gabriel González
Nest is MIT licensed.