Skip to content

Latest commit

 

History

History
42 lines (35 loc) · 749 Bytes

README.md

File metadata and controls

42 lines (35 loc) · 749 Bytes

Node.js-Express-boilerplate

A boilerplate for building production-ready RESTful APIs using Node.js, Express, Typescript, and PostgreSQL

Architecture

├─ test               // All the testing code in it
├─ dist               // Build version
├─ src
│  ├─ config
│  ├─ controllers
│  ├─ middlewares
│  ├─ routes
│  ├─ db
│  │  ├─ dal          // The data access layer (DAL) is where we implement our SQL queries
│  │  ├─ models       // Sequelize models
│  ├─ services
│  ├─ utils

Build

1 - Install package

npm install

2 - Build project

npm run build

Development

1- Install package

npm install

2- Run project

npm run dev