A Blog website made using Nodejs and MongoDB
git clone https://github.com/vijayv18/BlogWebsite-nodejs-mongodbGo to the project directory
cd BlogWebsite-nodejs-mongodbInstall "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.jsAnd go to localhost:3000 on your browser to check if the project is working.