Skip to content

tacettinkustu/question-answer-rest-api

Repository files navigation

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.

About

Building of an API with Express.js, MongoDb and JWT.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published