Skip to content

Latest commit

 

History

History
executable file
·
25 lines (20 loc) · 764 Bytes

README.md

File metadata and controls

executable file
·
25 lines (20 loc) · 764 Bytes

Project Structure of RESTFul API with Express

Requires node.js and express.js to run

Directory Structure

app.js              # App entry point
└─── configs        # Configuration related stuff
└─── controllers    # Controllers for all the endpoints 
└─── helpers        # Utility function
└─── models         # Object Models
└─── public         # Static file
└─── routes         # Routes for all the endpoints
└─── services       # Business logic

Start App

Install dependencies

$ yarn install or $ npm install

Start app

$ yarn start or $ npm start

Ref

https://github.com/siriphonNott/express-template