A Blog website made using Nodejs and MongoDB
git clone https://github.com/vijayv18/BlogWebsite-nodejs-mongodb
Go to the project directory
cd BlogWebsite-nodejs-mongodb
Install "BlogWebsite-nodejs-mongodb" with npm
cd BlogWebsite-nodejs-mongodb
npm install
This will install all the required dependencies for the project to run,
To run this project, you will need to add the following environment variables to your .env
file
MONGO-URL
- can be obtained by visiting mongodb atlas and creating your own database connection link. Check this out - https://www.mongodb.com/atlas/database
MONGO-URL
= Paste the created database link and make sure to check if username and password is added
To run tests, run the following command
node app.js
And go to localhost:3000
on your browser to check if the project is working.