Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pedrokehl/starter-nodejs-rest

DEPRECATED!! Starter for a Node.js REST Application using MongoDB and JSON Web Token
https://github.com/pedrokehl/starter-nodejs-rest

boilerplate express jwt mongodb nodejs starter-kit

Last synced: 1 day ago
JSON representation

DEPRECATED!! Starter for a Node.js REST Application using MongoDB and JSON Web Token

Awesome Lists containing this project

README

        

[![Code Climate](https://api.codeclimate.com/v1/badges/3852da308601e1d384cb/maintainability)](https://codeclimate.com/github/pedrokehl/starter-nodejs-rest/maintainability)

```diff
- DEPRECATED!!!
- This project was made more than one year ago, and is not maintained anymore.
```

[DEPRECATED] Starter for a NODE.js REST Application
=======================

Boilerplate using [Node.js](https://nodejs.org/), [MongoDB](https://www.mongodb.com/) and [JSON Web Token](https://jwt.io/).

### Features:
* MongoDB connection with easy configuration
* Client folder will use the same host of your API
* Token validation to protect your API
* Easy project structure to create routes and controllers in separate files
* Login and registration
* Recover account sending an email with an unique token
* Easy environment configuration
* Usage of ES6's features
* Airbnb code style
* HTML email template
* Log all requests and errors easily
* Mongoose schemas

### Requirements
* [NodeJS and NPM](http://nodejs.org/download)
* [MongoDB](http://www.mongodb.org/downloads)

### Getting Started

# Get the latest snapshot
git clone --depth=1 https://github.com/pedrokehl/starter-nodejs-rest.git

# Change directory
cd starter-nodejs-rest

# Install NPM dependencies
npm install

# Start your mongoDB and then simply start your app
npm start

### What's next?

* Client side example with React