Boiler plate for REST API in express. Ready to use basic express setup
- Run
npm install
in root directory - To start the api server
node server.js
-
api/compose/express/app
- Details about the api
- Clone this repository
- Add your routes in
server.js
- Define your controllers in
controllers/
directory - Write all your library (utility) functions in
lib
directory - Write all unit tests in
tests
directory - Modify details in
package.json
based on the project you will be building - You can change the default post
8000
to anything you want inserver.js