Skip to content

sahadat-sk/GSOC-HEAT-Blog-Website

 
 

Repository files navigation

Blog Website

Overview

Description

A Simple Blog Website where users can create as well as delete Blogs of their own.

Features

  • User Authentication
  • Create and Delete Blogs
  • Route Protection using Web Tokens

Getting Started

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

About

A blog website made using Node.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • EJS 42.9%
  • JavaScript 34.0%
  • CSS 23.1%