Skip to content

abruzy/fakebook

Repository files navigation

Contributors Forks Stargazers Issues MIT License


Facebook Clone

Link to life Version of the app

This app puts together some of the core features of facebook platform
Explore the docs �

AssigmentReport BugRequest Feature

Table of Contents

About The Project

Sign In View

News Feeds View

In this project, we'll put together some of the core features of the platform – users, profiles, “friending”, posts, news feed, and “liking”. we'll also implement sign-in with the real Facebook by using Omniauth and Devise.

Built With

This progam was made using this technologies

Getting Started

To get a local copy up and running follow these simple example steps.

Prerequisites

  • Ruby You can easily install Ruby on your Linux computer by using Homebrew and Chruby
brew install chruby
brew install ruby-install
ruby-install ruby
  gem install rails

Installation

  1. Clone the repo
git clone https://github.com/abruzy/facebook-clone
  1. The next thing is to change directory folder
cd facebook-clone
  1. The next step is to install our dependencies by running the following command below
bundle install
  1. create a file called '.env' in your root directory and copy the field below and paste it inside that .env file

NB: please replace, for example 'yourpassword' to 'abruzy9463' with the appropiate details

POSTGRES_USER='yourpostgresuser'
POSTGRES_PASSWORD='yourpassword'
POSTGRES_HOST='yourpostgreshost'
POSTGRES_DB='yourdatabasename'
  1. The next step is to run the command below

NB: please make sure you have pgadmin installed on your machine

rails db:create
  1. The next step is to migrate to our database by running the following command
rails db:migrate
  1. Voila!!, you did a great job but alas, we need to complete the whole step by actually starting our server by running the command below
rails s
  1. Now to view the app, we need to visit this url below and you can actually see this in your terminal when you start the server
http://localhost:3000/

To run test

rspec

Usage

  1. create, update, edit a user
  2. create, update, edit and delete a feed
  3. like and comment on a feed
  4. send friend request
  5. Recieve/Accept friend request
  6. Sign up with devise gem
  7. sign in with ominiauth

Live link

facebook-clone

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Project Link: https://github.com/abruzy/facebook-clone

Acknowledgements

About

A social media app built with ruby on rails. It includes some of the core features of the Facebook app which include; users, friendships, posts, liking, comments, etc.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages