This project is a Facebook-like social network application built with rails. It implements the basic functionality found on the popular social media app called Facebook.
- About the Project
- Live Preview
- Data Architecture Documentation (ERD)
- Required Installations
- Installation of This App
- License
- Contact
- Acknowledgements
This project is a Facebook-like social network application. In this project, users can sign up either through the app or with their Facebook account. Once a user becomes a member, such user can be able to create posts and comments on other posts and in which only his/her friends can see and view. A user can also be able to post images too. A user can friend or unfriend a user. The main goal is to put in practice the main concepts of Model Associations, Session Authentications with devise gem, and units & integration testing with RSpec and Capybara.
Full task description: Odin Project.
- HTML
- CSS
- Git
- Ruby
- Ruby on Rails
This is the link to the live preview in Heroku. Feel free to visit.
FaceBook Clone
Below is the HomePage Screenshot
This enables users to log in to the app to test the application themselves. username: example-3@railstutorial.org password: password
- Users can signup and send friend requests to other users.
- Posts are created by users and only a user's friend can view or see them.
- User can comment can on his/her post or other users' posts.
- Users can like posts and comments.
- Users can search for other users with the search input by their names.
The image below is a copy of the Entity Relationship Diagram generated for this project.
If you want a copy of this project running on your machine you have to install:
- Ruby 2.6.4
- Gem 3.0.3
- Rails 6.0.2
- Bundler 2.0.2
- Rspec
Once you have installed the required packages shown on the Required Installations, proceed with the following steps
Clone the Repository,
your@pc:~$ git clone https://github.com/adaorachi/facebook_clone
Move to the downloaded folder
your@pc:~$ cd facebook_clone
install gems
your@pc:~$ bundle install --without production
migrate and seed the database
your@pc:~$ rails db:migrate
your@pc:~$ rails db:seed
Run the app in a local server:
your@pc:~$ rails server
Then, go to http://localhost:3000
To run the unit test, follow these steps.
Open a terminal
Install the rspec gem if you have not already
your@pc:~$ gem install rspec
Run RSpec in the terminal
your@pc:~$ rspec
Some of the features or improvements we would like to implement on this project is to make the views responsive and also add more unit test to the test suite.
Distributed under the MIT License. See LICENSE
for more information.
- Felipe Enne - felipeenne@gmail.com | Github Account https://github.com/FelipeEnne
- MaryAnn Chukwuka - annychuks07@gmail.com | Github Account https://github.com/adaorachi
- Microverse and Odin Project .