Skip to content

A Ruby-on-Rails Facebook clone that has posts, comments, likes, and friendships!

Notifications You must be signed in to change notification settings

BrentBarnes/Chipper-Social

Repository files navigation

Chipper Social

This is the final project from The Odin Project's Ruby on Rails curriculum.

The original project can be found here: Building Facebook
The Ruby on Rails curriculum and course framework can be found HERE.

Functionality

  1. PostgreSQL Database
  2. 32 Tests using RSpec, Capybara, and FactoryBot
  3. Styled with custom CSS and Bootstrap CSS
  4. Uses action mailer to send new users a welcome email.
  5. Uses Devise gem to handle user sessions, registrations, and authentication
  6. Seeds 20 fake users using the Faker gem
  7. Uses Gravatar to handle default avatars
  8. Demo@test.com account comes preloaded with:
  • An avatar
  • 5 friends
  • 5 friend requests
  • 10 strangers
  • Each user has 1-3 posts.
  1. Uses Turbo Frames
  • The middle column of the holy grail layout is constantly being replaced with other Turbo Frames
  • Editing a post replaces the content section with a turbo framed text box
  1. Posts have many features. They can be:
  • Created
  • Liked
  • Commented on
  • Edited
  • Deleted
  1. The like model makes use of a polymorphic association (likeable)
  • Posts and comments are both likeable
  1. Every user has their own profile. A profile contains:
  • The user's avatar
  • Links to view the user's posts, friends, and liked posts
  • 4 optional information fields: location, education, occupation, and birthday
  • A feed of that user's previous posts
  1. Users can edit their own profile. They can update:
  • Their user avatar by uploading an image from their local machine using active storage
  • Their name and four other optional information fields
  1. There are 3 tabs related to friendships:
  • Friend Requests: displays who has sent you a friend request
  • Find friends: displays strangers and users who have sent you a friend request
  • My friends: displays friends that you have made. You can also unfriend friends here.
  1. Users can also view their own posts and posts that they've
  2. Uses images from the asset pipeline

Screenshots

Chipper Log In Page

Chipper Sign In Page

Timeline

Timeline

Create, edit, delete, and like posts

Post and edit posts

Comment on posts and like comments

Comment on posts and like comments

View user profiles

View user profiles

Edit your own profile

Edit your own profile

Find friends you haven't connected with yet

Find friends

Friend requests

Friend requests

My friends

My friends

Passing Tests

My friends

About

A Ruby-on-Rails Facebook clone that has posts, comments, likes, and friendships!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published