Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 775 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 775 Bytes

Rest Api Node and Mongo

Description

This is an Restful API for Node.js and Mongo. Designed after PHP's beautiful Laravel. This is in the MVC format, except because it is an API there are no views, just models and controllers.

tutorial can be found here: https://medium.com/@brianalois/build-node-mongo-rest-api-2018-jwt-eff0e4f41007

Routing : Express
ODM Database : Mongoose
Authentication : Passport, JWT

Installation

Donwload Code | Clone the Repo

git clone {repo_name}

Install Node Modules

npm install

Create .env File

You will find a example.env file in the home directory. Paste the contents of that into a file named .env in the same directory. Fill in the variables to fit your application