Skip to content

thecodearcher/node-typescript

Repository files navigation

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

About

Not so bare boilerplate for Nodejs application using typescript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published