A Simple Blog Website where users can create as well as delete Blogs of their own.
- User Authentication
- Create and Delete Blogs
- Route Protection using Web Tokens
If you do not have npm and node installed, visit :
https://docs.npmjs.com/downloading-and-installing-node-js-and-npm
https://nodejs.org/en/download/
-
Clone this Repository
$ git clone https://github.com/srijan2002/Blog-Website.git
-
Install all the dependencies by running this command
$ npm install
-
Create an .env file in the main directory and fill it up with your MongoDb Atlas Credentials:
DB = '<Your MongoDb Cluster link to connect>' SECRET = '<Your secret key>'
-
To run the project , type the following command :
$ nodemon blog
You have your project up and running at https://localhost:3000