Skip to content

Latest commit

 

History

History
64 lines (42 loc) · 1.06 KB

readme.md

File metadata and controls

64 lines (42 loc) · 1.06 KB

Node/Express using typescript

Boilerplate for using typescript in node.

Features

  • Uses typescript
  • Basic moongoose model setup
  • Global error handling
  • Request input validation using Joi

Quick Start

Get started developing...

# install deps
npm install

# run in development mode
npm run watch

Install Dependencies

Install all package dependencies (one time operation)

npm install

Run It

Run in development mode:

Runs the application is development mode. Should not be used in production

npm run watch

Run in production mode:

Compiles the application and starts it in production mode.

npm run compile
npm start

Try It

Debug with VSCode

Add these contents to your .vscode/launch.json file