Skip to content

iitiansuyash/blogISM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

blogISM.

blogISM is a mini version of a working blogging website. This project is done by using only HTML, CSS and Vanilla JS. This is a nodeJS application, also using firebase as its database.

Visit Online

This website is hosted at https://blogism.herokuapp.com

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

Your machine should have Npm(or Yarn) and Node.js installed to use it locally.

Setup and Installation

Setting up the repository locally

  1. First fork the repo 🍴 to your account.
    Go to the forked repo and clone it 👥 to your local machine:
git clone https://github.com/Your_Username/blogISM.git

This will make a copy of the code to your local machine.

  1. Now, move to the blogISM directory.
cd blogISM
  1. Now, check the remote of your local code by:
git remote -v

The response should look like:

origin	https://github.com/Your_Username/blogISM.git (fetch)
origin	https://github.com/Your_Username/blogISM.git (push)

To add upstream to remote, run:

git remote add upstream https://github.com/iitiansuyash/blogISM.git

Again run git remote -v, the response should look like:

origin	https://github.com/Your_Username/blogISM.git (fetch)
origin	https://github.com/Your_Username/blogISM.git (push)
upstream	https://github.com/iitiansuyash/blogISM (fetch)
upstream	https://github.com/iitiansuyash/blogISM (push)
  1. Once the remote is set, install all the necessary dependencies by the following command:
npm run install-all
  1. After installing packages. You must go to your firbase console and make a project. Copy project credentials and paste it to "firebase.js" file. Otherwise you'll not be able to access database.

Run locally

Run the below command to start the server:

npm start

Go to: http://localhost:3000