ExpressJS boilerplate with Socket.IO, Mongoose for scalable projects.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
#!/bin/bash
[email protected] or higher
A step by step series that will tell you how to get a development env running
#!/bin/bash
$ git clone https://github.com/imbudhiraja/express-boilerplate.git
$ cd express-boilerplate
#!/.nvm/versions/node/v10.x.x/bin/node
$ npm ci
Script | Description |
---|---|
npm run dev | Starts development server at localhost:8443 and socket server at localhost:3002 |
npm start | Starts production server at localhost:8443 and socket server at localhost:3002 |
npm run lint | Run Eslint to find out linting issues. |
npm run docs | Create API docs. checkout APIs at - localhost:3001/v1/docs |
npm run docs-postman | Create API docs JSON file to import to Postman |
touch .env
npm run start
http://localhost:8443/
NOTE - Refer to Sample Env File
Once server has started run http://localhost:8443/healthcheck.