Simple Blog created with Nodejs, Express & MongoDB.
Demo : Blog
To get this project up and running locally on your computer:
-
Clone this repository
git clone [email protected]:Mvlprem/blog.git
-
Install the required packages in the root of your clone of this repo
npm install
-
Run the server, using the below command
npm run devstart
-
Open a browser to http://localhost:3000/ to open the blog site.
Note: The library uses a MongoDB database hosted on MongoDB Atlas. You should use a different database for your own code.
// .env
SECRET = 'your_secret_for_session'
MONGODB_URI = 'insert_your_database_url_here'