Skip to content

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

License

Notifications You must be signed in to change notification settings

techfarsi/Node.js-Express-boilerplate

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published