Skip to content

Talento90/typescript-node

Folders and files

NameName
Last commit message
Last commit date
Apr 9, 2018
Mar 30, 2018
Sep 17, 2019
Apr 17, 2018
Apr 9, 2018
Apr 12, 2018
Sep 17, 2019
Apr 14, 2018
Sep 17, 2019
Sep 14, 2015
Apr 19, 2018
Oct 12, 2018
Mar 12, 2021
Oct 21, 2019
Sep 17, 2019
Apr 14, 2018

Repository files navigation

typescript-node Build Status codecov Codacy Badge

Template for building nodejs and typescript services. The main goal of this boilerplate is to offer a good Developer Experience (eg: debugging, watch and recompile) by providing the following features out of the box:

Features

Installation & Run

  • npm install - Install dependencies
  • npm run start - Start application (It needs a mysql database)

Running with Docker

  • docker-compose up (compose and run, it also creates the mysql database)
  • docker-compose down (Destroy application and mysql containers)

Useful npm commands

  • npm run build - Transpile TypeScript code
  • npm run clean - Remove dist, node_modules, coverage folders
  • npm run coverage - Run NYC coverage
  • npm run lint - Lint your TypeScript code
  • npm run start:dev - Run application in dev mode (debug & watch). Debug mode is running on port 5858 (open chrome://inspect/#devices).
  • npm run test - Run unit tests
  • npm run test:integration - Run integration tests
  • npm run test:all - Run Unit and Integration tests