Skip to content

Latest commit

 

History

History
82 lines (60 loc) · 3.93 KB

README.md

File metadata and controls

82 lines (60 loc) · 3.93 KB

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

NPM Version Package License NPM Downloads CircleCI Coverage Discord Backers on Open Collective Sponsors on Open Collective Support us

Description

This repository is made for backend team which are responsible for developing a REST api of the Reddit Clone using Nest framework which is TypeScript starter repository.

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

Contribution Guide

  1. use eslint instead of prettier for .ts files
  2. use conventional commits (can use commitizen to help: npm install -g commitizen and then use git cz)
  3. other files (.json, .rc, .js) are formatted using prettier
  4. precommit hook will run lint checking on staged files only. It will also run all tests on all uncommitted(not just staged) files.
  5. prepush hook will run formatting check and testing on all files
  6. use git commit or git cz in terminal to get husky output. In vs code if you just hit commit you will have to wait without any output.
  7. changes may break github desktop (on windows). You need WSL to run bash in git hooks.
  8. don't forget to npm i and npm run husky

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.

Stay in touch

lorem ipsum

License

Nest is MIT licensed.