Skip to content
A Node.js boilerplate for quickly booting API for application
JavaScript HTML Dockerfile CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app clearing use-strict eslint violation Jan 10, 2020
pm2_configs Added pm2_configs Mar 19, 2018
public add bootstrap, custom style.css and pug template Jan 8, 2019
test/api/auth resolving status code and other minor changes. Jun 19, 2019
views add bootstrap, custom style.css and pug template Jan 8, 2019
.editorconfig 1. adding emacs meta into .gitignore Dec 24, 2016
.env.sample
.eslintrc.json attempting to fix eslintrc Oct 5, 2019
.gitignore
.jshintrc 1. Removed all client side Mar 16, 2018
Dockerfile First commit Apr 30, 2018
LICENSE setting structure up Jan 6, 2016
README.md formatting README.md Oct 1, 2019
config.js Adding unit test integration for the boiler plate. Jun 17, 2019
docker-compose.yml Adding new line Apr 30, 2018
gulpfile.js > 1. Added mongodb url to .env.sample file Mar 29, 2018
nodemon.json adding additional configurations for nodemon Jan 11, 2017
package.json Bump mongoose from 4.13.20 to 5.8.6 Jan 10, 2020
server.js clearing use-strict eslint violation Jan 10, 2020
test.js resolving status code and other minor changes. Jun 19, 2019

README.md

Nodejs api boilerplate

This is a minimalistic Nodejs API boilerplate

Uses

  1. Mongodb 3.6.3
  2. Express 4.13.3
  3. Nodejs v10.16.1

Development

Create a new .env file with necessary configuration. You can refer .env.sample for the reference

Install the dependencies

npm i  

Deployment

You need to use pm2 for deploying nodejs application. Application configurations are in pm2_configs/ folder

Third part dependencies

The app uses node-ses for sending verification and reset password mail. Feel free to swap out it.

License

Licensed under MIT license

You can’t perform that action at this time.