thecodearcher / node-typescript-with-sequelize-migration

A template node application for using sequelize migrations with typescript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Node/Express using typescript

Boilerplate for using typescript in node.

Features

  • Uses typescript
  • Basic mysql/sequlize 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

A template node application for using sequelize migrations with typescript


Languages

Language:TypeScript 93.9%Language:Shell 6.1%