Skip to content

Latest commit

 

History

History
47 lines (29 loc) · 1.1 KB

File metadata and controls

47 lines (29 loc) · 1.1 KB

Blog Website

A Blog website made using Nodejs and MongoDB

Clone the project

  git clone https://github.com/vijayv18/BlogWebsite-nodejs-mongodb

Go to the project directory

  cd BlogWebsite-nodejs-mongodb

Installation of dependencies

Install "BlogWebsite-nodejs-mongodb" with npm

  cd BlogWebsite-nodejs-mongodb
  npm install 

This will install all the required dependencies for the project to run,

Environment Variables

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

Create a .env file on the root directory and add

MONGO-URL= Paste the created database link and make sure to check if username and password is added

Run the project

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.

And hurray your Daily Journal is now in your hands 🚀