Makers Academy - Week 8 group project
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.
- 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
To set up the databases, run the following migration commands:
bin/rails db:create
bin/rails db:migrate
Development:
- Run the server with command
bin/rails server
- Visit
localhost:3000
to use the site
Production:
- 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
Doing so will take you to the timeline, which lists posts in reverse chronological order
You can click 'New Post' in the navbar to make new posts
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
If you click on your own name, it will take you to 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
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.