Giter Site home page Giter Site logo

janiceyr / clone_instagram Goto Github PK

View Code? Open in Web Editor NEW
10.0 2.0 9.0 2.74 MB

Clone-Instagram is a web application inspired by Instagram for following the other users and sharing pictures. It was built using Ruby on Rails backend with PostgreSQL database and a React/Redux frontend.

Home Page: https://www.clone-instagram.com

Ruby 40.19% JavaScript 38.77% CSS 16.56% HTML 3.48% CoffeeScript 1.00%
instagram fullstack javascript ruby ruby-on-rails html5 scss css redux react

clone_instagram's Introduction

CloneInstagram

Clone-Instagram is a web application inspired by Instagram for following the other users and sharing pictures. It was built using Ruby on Rails backend with PostgreSQL database and a React/Redux frontend.

Features & Implementation

  • Users can post their pictures and share it.
  • Users can follow the other users and also unfollow them.
  • Users can comment on the post and delete it. Also can like or unlike the post.

Flexibility

Clone-Instagram can be used in every browser including Chrome, Safari, and even in mobile browser. Users can post new pictures and can like and comment, everything using their mobile phone! check_on_phone

Secure Authentication

With secure authentication system, users can Sign-up or Sign-in in a secure way. Or using guest id(DemoId), everyone can explore everything without Sign-up. sign_up_page

Welcoming User & Suggestions

When users visit Clone-Instagram for the first time and just made their account, users can get a few suggestions for follows. Suggestions will be the most popular users by followers count.

  //users_controller.rb
  def index
    @users = User.joins(:followers)
                .select("users.*, count(follows) as follower_count")
                .group("users.id")
                .order("follower_count DESC")
                .limit(5)
    render "api/users/index"
  end

suggestion_page

Feed

When users follow the other users, then users can check their followings posts on their feed page. Users can comment on feed page and also like or unlike the post.

  // posts_controller.rb
  def index
    @posts = Post.where(user_id: current_user.feed_ids)
    render "/api/posts/index"
  end

Project Design

Clone-Instagram was designed and built in two weeks. The original proposal included:

Technologies

Backend

  • Ruby On Rails
  • jBuilder
  • PostgreSQL Database
  • Heroku

Frontend

  • React/Redux
  • javascript
  • SCSS/CSS
  • npm
  • Webpack

Other

  • Cloudinary for users' profile pictures and post pictures storage.
  • BCrypt for password-salting and hashing for a secure authentication system.

Additional Features

  • Add Geotags using Google map API
  • Search for photos by Geotags

clone_instagram's People

Contributors

janiceyr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

clone_instagram's Issues

Install

Hello Janice
Please write detailed installation and start-up instructions.
Thank you very much for your efforts.
Yours faithfully

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.