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