Skip to content
This repository was archived by the owner on Sep 17, 2021. It is now read-only.

yesworld/starter-server-nest

Repository files navigation

Nest Logo

Awesome starter project on Nest.js

JavaScript Style Guide License: MIT

It's a starter framework on Nest, with TypeScript support.

Description

A progressive Node.js framework for building efficient and scalable server-side applications, heavily inspired by Angular

Installation 💬

$ npm i
OR
$ yarn
  • Create a DB mysql.
  • Copy and rename .env.example to .env. Setup database settings inside this file.
  • If SyncOrm is false TYPEORM_SYNCHRONIZE = false, then run yarn run sync or npm run sync command for create tables in your DB.
  • Add an admin to the table Users

Running the app

# development
$ yarn run start

# watch mode
$ yarn run start:dev

# production mode
$ yarn run start:prod

Test

# unit tests
$ yarn run test

# e2e tests
$ yarn run test:e2e

# test coverage
$ yarn run test:cov

:suspect: TODO

  • JWT
  • Add tests
  • Add a rule for Tslint
  • plainToClass() doesn't work in ValidationUserPipe. Next release. Solved by function classToPlain() from the class-validate.

License

MIT License

Copyright (c) @yesworld

About

🚀 It's a starter framework on Nest, with TypeScript support.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •