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.
The objetive of this project is build a replica that uses 25 ![screenshot](./docs/Database associations.png) all the core logic of Facebook.
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.
- 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 on other users post.
- 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.
- Ruby language,
- Ruby on Rails framework,
- Vscode for coding
- Rubocop for Validation
=======
- devise
- omniauth-facebook
- capybara
- rspec-rails
To get started with the app, clone the repo and then install the needed gems:
$ bundle install --without production
Next, migrate the database:
$ rails db:migrate
Finally, run the test suite to verify that everything is working correctly:
$ rails test
If the test suite passes, you'll be ready to run the app in a local server:
$ rails server
For more information, see the The Odin Project.
👤 Selma Ndi
- Github: @githubhandle
- Twitter: @twitterhandle
- Linkedin: linkedin
👤 Vinicius Carvalho
- Github: @githubhandle
- Twitter: @twitterhandle
- Linkedin: linkedin
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- MicroverseInc(https://www.microverse.org/)
- Odin Project(https://www.theodinproject.com/courses/ruby-on-rails/lessons/final-project)
This project is MIT licensed.