GithubHelp home page GithubHelp logo

facelook's Introduction

Facelook

Facelook is a clone of some of the features of the Facebook app. Users can make friends, post contents and different posts can be liked and commented on by other users.

https://www.facebook.com

facelook login

facelook home

Technologies

Ruby

Framework

Ruby on Rails

Bootstrap

Requirements

Ruby version 2.6.2

Rails version 5.2.3

If you don't have RVM installed you can set it up using this guide

Installation

Open your git bash and cd to the location you'd like to put your files the run the command below.

git clone https://github.com/JamesOkunlade/facelook

cd to into the project folder and install using bundle install

rails db:create

rails db:migrate

rails db:seed

To start the server: rails server

Future improvement

  • Change the frontend to React.js
  • Implement live chat with friends

Author

James Okunlade

Adnan Afsari

facelook's People

Contributors

adnanafsari avatar jamesokunlade avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

facelook's Issues

Friendship not reflected on both users

Added user does not reflect the adder as a friend:

  1. Creating two users ryto and mike

  2. Running ryto.friendships.create(added_id: mike.id) is successful

  3. Running ryto.friends results in:
    image

  4. Running mike.friends, however, results in an empty array:

image

The reason for this is that in the user model, only one side of this friendship is included as an association:

image

The other side should also be included as an association.

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.