riyajha2305 / Instagram-Clone

Instagram Clone | MERN Stack
https://instaclone2305.herokuapp.com/
5 stars 23 forks source link
css express html instagram mongodb nodejs react reactjs social-media

Instagram Clone

![Contributors](https://img.shields.io/github/contributors/riyajha2305/Instagram-Clone?style=for-the-badge) ![Forks](https://img.shields.io/github/forks/riyajha2305/Instagram-Clone?style=for-the-badge) ![Stars](https://img.shields.io/github/stars/riyajha2305/Instagram-Clone?style=for-the-badge) ![License](https://img.shields.io/github/license/riyajha2305/Instagram-Clone?style=for-the-badge) ![PRs-Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=for-the-badge) ![](https://img.shields.io/github/issues-raw/riyajha2305/Instagram-Clone?color=orange&style=for-the-badge) ![](https://img.shields.io/github/issues-closed/riyajha2305/Instagram-Clone?style=for-the-badge) ![](https://img.shields.io/github/issues-pr/riyajha2305/Instagram-Clone?style=for-the-badge) ![](https://img.shields.io/github/issues-pr-closed-raw/riyajha2305/Instagram-Clone?style=for-the-badge)

Created a clone of Instagram using MERN stack.

Instagram Clone Official Website »
Report Bug · Request Extension

#### Table of Contents : * [Overview](#Overview) * [Folder Structure](#Folder-Structure) * [Prerequisites](#Prerequisites) * [Snapshots of this Project](#Snapshots-of-this-Project) * [Open Source programs this repo has been part of](#Open-Source-programs-this-repo-has-been-part-of) * [Contribution Guidelines](#Contribution-Guidelines) * [Contributors](#Contributors) * [Feedback](#Feedback)

(Bottom)

Overview

Instagram Clone | MERN Stack

Features:

Uers can update their profile and sort posts based on their followings User authetication with enability to reset password via email notification Lets users post images with title Lets users like & dislike posts Lets users comment on others post Lets users view other users profile Lets user follow & unfollow other users Search feature to search people on this webiste

About

I started developing a social media app in my spare time for about 2 months or so and ended up with this cool Instagram-Clone! Basically it allows you to login and upload posts (with images & coordinates), search posts (by names), like and comment on posts.

I learnt a lot about react & backend stuff while doing this including:

(back to top)

What I learnt about react


(back to top)

Folder Structure

client/
  public
  src
config
middleware
models
routes
   app.js
   package-lock.json
   package.json
...


(back to top)

Prerequisites

Usage (run fullstack app on your machine)

notice, you need client and server runs concurrently in different terminal session, in order to make them talk to each other

Client-side usage(PORT: 3000)

$ cd client    // go to client folder
$ npm i       // npm install packages
$ npm start  // run the client side app

Server-side usage(PORT: 5000)

(back to top)

Prepare your secret

run the script at the first level:

Start

$ npm i       // npm install packages
$ nodemon app // this will run the server side app

Deploy Server to Heroku

$ npm i -g heroku
$ heroku login
...
$ heroku create
$ npm run heroku:add <your-super-app>
// remember to run this command in the root level, not the server level, so if you follow the documentation along, you may need to do `cd ..`
$ pwd
/Users/<your-name>/mern
$ npm run deploy:heroku


(back to top)

Snapshots of this Project

User can sign in or sign up

User can sign in or sign up


User visit Feed page

User visit Feed page


(back to top)

User can go to his/her profile page

User can go to his/her profile page


User can visit other users profile and follow/unfollow

User can visit other users profile and follow/unfollow


(back to top)

Open Source programs this repo has been part of

JGEC Winter of Code



(back to top)

Contribution Guidelines


Never made an open source contribution before? Here's a quick rundown!
 <br />
git clone https://github.com/<your_user_name>/Instagram-Clone.git
cd clone-it
git remote add upstream https://github.com/riyajha2305/Instagram-Clone.git 

(back to top)

git remote -v
git pull upstream main
git checkout -b <your_branch_name>
git add . 

(back to top)

git commit -m "Relevant message"
git push -u origin <your_branch_name>



(back to top)

Contributors


Thanks to all the people who contribute 💜

Contributors



(back to top)

Feedback

If you have any feedback or suggestions please reach out to Project - Maintainer.

Or you can create a issue and mention there , which new features can make this Project more good.



(back to top)

### Show some ❤️ by starring this awesome Repository!