Skip to content

This is the final project from the Rails course in The Odin Project

Notifications You must be signed in to change notification settings

vieiramanda11/facebook-clone

Repository files navigation

Facebook Clone

Description

Build Facebook using Ruby on Rails! Not all Facebook features are available. Used OmniAuth Authentication System using Facebook account.

Live Demo

Check a live version on Heroku

Authors:

Features

User

  • Sign up / login / logout / reset password
  • Profile Page
  • CRUD functions for posts (C- create, R-read, U-update, D-delete)
  • has many Posts

Posts

  • CRUD
  • Post display with the post content, author, comments and likes
  • belongs to a User

Comments

  • CRUD functions(association with Post)

Likes

  • Like/ Dislike post

Recieve Notifications

  • Comments on your posts.
  • Likes for your comments / posts.
  • Friendship requests and acceptance.

Entity Relationship Diagram (ERD)

alt text

How To Use

To clone and run this application, you'll need Git, Ruby '2.6.3' , Rails'~> 5.2.3' and for Datebase used PostgreSql. Included rspec testing From your command line:

# Clone this repository
$ git clone https://github.com/vieiramanda11/facebook-clone.git

# Go into the repository
$ cd facebook-clone

# Install dependencies
$ bundle install --without production

#  Create and Migrate the database
$ rails db:create
$ rails db:migrate

# Testing with rspec
$ rspec

# Run the app
$ rails s

About

This is the final project from the Rails course in The Odin Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published