/nodestore

🏬 Store RESTServer with Node.js + Express + Mongoose + Bcrypt

Primary LanguageJavaScript

Nodestore

🏬 Store RESTServer with Node.js + Express + Mongoose + Bcrypt

Clone the repository

git clone https://github.com/dalejodc/nodestore.git

Get into the project folder

cd nodestore

Download dependencies

npm install

Create an environment.js

The file must be located in server/config/environment.js as server/config/environment.js.example.

Set up your environment dev or prod. And set your Mongodb URL in case that you are using a cloud database.

process.env.NODE_ENV='dev'
process.env.MONGO_URI='url_to_cloud_db'

Run the server

cd server
node server.js