Skip to content

clemmurphy/InstaClone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

InstaClone

A full-stack Instagram clone built on the MERN stack

Live on Heroku

Capture

Brief

To create a full-stack web application using a relational MongoDB database, Express and NodeJS back end, and React front end.

Technology

  • React
  • Express
  • MongoDB
  • NodeJS
  • Cloudinary
  • Heroku

Overview

I wanted to create an Instagram clone that allowed users to register for an account, create posts by uploading media from their devices, follow and unfollow users, comment and like posts, and view posts in a timeline.

The key features are:

  • User account registration and login
  • Post and profile picture uploading to Cloudinary
  • Adding comments to posts
  • Liking posts
  • Following and unfollowing users
  • Viewing posts in three different timeline modes: most recent from your followed users, most popular globally, and most recent globally
  • Mobile responsiveness

Approach

Back End

The main part of this project's functionality come from building relationships between users and posts, posts and likes or comments, and ensuring the data is correctly populated for each of these to be displayed. I created a custom Express API that routed my requests and provided the required information to the front end.

React

Using React's states and modular components, I tracked each post's like status and ownership per user, ensuring that a user could not like a post more than once and that once a user liked a post, it showed up as liked in the UI immediately. This really helps the site feel more dynamic and easy to use.

Mobile Responsive

As this app was created as a clone of Instagram, I had to ensure the design was responsive and everything worked well on smaller screens. I designed mobile-first, and added CSS rules for desktop afterwards.

About

A full-stack Instagram clone created using the MERN stack.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published