/aceBook-PingPong

Template for the AceBook project

Primary LanguageRubyOtherNOASSERTION


⚠️⚠️⚠️

When Heroku became paywalled, we decided to decommission the site. You can still explore the code and see how it used to look below.

⚠️⚠️⚠️


Makers Academy - Week 8 group project

Build Status Maintainability Test Coverage Heroku

Contributors: Josh Blumberg | Peter Dean | Joe Ellingworth | Dafna Libman | Liz Daly | Jack Overton


Outline | Specifications | User Stories | Installation Instructions | Tech stack | Example use | Future work

Work in a team of six to build a clone of Facebook.

The project specifications can be found here.

User stories, which we designed from the specifications, can be found here.

Prerequisite setup:

  • Clone this repo to your local machine and cd into it
  • Run gem install bundle (if you don't have bundler already)
  • Run bundle to install the project's dependencies

Database setup:

To set up the databases, run the following migration commands:

bin/rails db:create
bin/rails db:migrate

Running the site

Development:

  • Run the server with command bin/rails server
  • Visit localhost:3000 to use the site

Production:

Testing

  • Tests can be run using Rspec. Run the command rspec.

Front-end:

  • HTML & CSS

Back-end:

  • Ruby
  • Ruby On Rails
  • PostgreSQL

Testing:

  • RSpec
  • SimpleCov
  • Code Climate
  • Travis CI

Some screenshots of the different functionality of the site:

The landing page prompts users to sign up or sign in

landing page

Doing so will take you to the timeline, which lists posts in reverse chronological order

Timeline

You can click 'New Post' in the navbar to make new posts

New Post

Once you've made a post, you can edit or delete it for up to 10 minutes

If you click on a user's name, it will take you to that persons profile, which will display their profile picture and their photos

Other User

If you click on your own name, it will take you to your profile

Your profile

The 'Your Photos' navbar option takes you to a list of your photos. Here you can also edit, delete, and choose to make one of your photos your profile picture

Your photos

You can sign out at any time by clicking the 'Sign Out' button in the navbar

On a revisit of the project, we would like to add functionality to comment on and like/unlike people's posts.