node-api-boilerplate

Sequelize (PostgreSQL), Node, Express boilerplate

View the Project on GitHub christopherdiehl/node-api-boilerplate

DEPRECATED

Node-API-Boilerplate

A Node REST API Boilerplate for small to medium sized projects.

Dependency Status devDependency Status travis build status

Setup

  1. git clone git@github.com:christopherdiehl/node-api-boilerplate.git
  2. npm install
  3. Install PostgreSQL and update config.json accordingly
  4. Install sequelize-cli and run sequelize db:migrate
  5. npm run start
  6. navigate to localhost:8080/api to confirm that the boilerplate is running

Authentication done with JWT
Nodemailer used to send reset token

To test authenticated routes in postman: set Header Key = Authorization and Header value = "Bearer $[key]"