Skip to content

vijayv18/BlogWebsite-nodejs-mongodb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 🚀

About

Blog Website made using NodeJs and MongoDB

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published