Skip to content

Latest commit

 

History

History
16 lines (14 loc) · 595 Bytes

README.md

File metadata and controls

16 lines (14 loc) · 595 Bytes

question-answer-rest-api

A Basic Rest Api Project

Getting started

To get the Node server running locally:

Clone this repo

npm install to install all required dependencies
Create MongoDb Cluster and Get Connection MongoDb URI
Set environment variables in config.env under ./config/env
Set MONGO_URI = <YOUR_MONGO_URI>
Set JWT_SECRET_KEY = <YOUR_SECRET_KEY>
Set SMTP_EMAIL=<YOUR_GMAIL_EMAIL>
Set SMTP_PASS=<YOUR_GMAIL_PASSWORD>
node dummy-generator.js --import to load dummy data to database
npm run dev to start the local server.