Skip to content

rheo-chiti/Instagram-Clone

Repository files navigation

Instagram-Clone

This is a clone of Instagram with basic features.

Screenshots

alt text alt text alt text

Features

  • Sign-in/Sign-up

  • Upload image

  • View all posts

  • Like/Comment on post

Technologies used

Activities

How to run this on your system

  • Install Android Studio from here

  • Install Git from here

  • Fork the repository

  • In Android Studio, go to File->New->Project from Version Control->Github

How this app works

User creates his account via Firebase Password Based Authentication.When a new user is registered the userName is checked from existing userNames and then account is created.User views all the posts on the next activity.The posts are retrieved from Firebase Cloud Firestore, the structure is like this:-

Collection/Document Fields
Photo
TimeStamp userName , timeStamp , imageURL , likes
Likes
TimeStamp userName

When user creates a post,the image is uploaded at Firebase Cloud Storage ,then it's download URL is saved at imageURL.When user likes a photo the likes value is incremented and username is added in the userName field,if user removes his like then it is removed and subsequently likes value is decremented.The comments are also retrieved from Firebase Cloud Firestore, the structure is like this:-

Collection/Document Fields
Photo
TimeStamp userName , timeStamp , imageURL , likes
Comments
TimeStamp userName , timeStamp , commentText

Future Features

  • Image Caching

  • Push Notifications

  • Chat Feature

Devices Tested On

Device Android Version Skin/ROM
Realme 1 Android 9.0 ColorOS
OnePlus 5T Android 9.0 OxygenOS
Redmi Note 5 Pro Android 9.0 MIUI 10

Releases

No releases published

Packages

No packages published

Languages