Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 669 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 669 Bytes

node-typescript-boilerplate

Simple and clean node.js starter project with Typescript support

How to use

  1. Clone the repository:
git clone https://github.com/qramilq/node-typescript-boilerplate.git
cd node-typescript-boilerplate
  1. Install dependencies
yarn

or

npm install
  1. Start server using commands from Available scripts section

Available scripts

  • build - transpile TypeScript to ES6,
  • start:dev - starts server (NODE_ENV=development) in watch mode (using nodemon),
  • start:debug - same as start:dev + support debugging server,
  • start:prod - starts (NODE_ENV=production) server,