In this Ruby on Rails project, we have created a web application in which users can sign up, create posts, send friend requests to other users, leave comment to other posts and also like posts.
- Run
git clone git@github.com:kubilaycaglayan/ror-social-scaffold.git
in the terminal. - cd into the directory.
- run
bundle install
rails db:create && rails db:migrate && rails db:seed
- Run
rails server
in the terminal.
- Address bar:
localhost:3000
will take you to sign in page. - From there you can create new user.
- After you create a new user, you can create new posts and send friendship requests.
- You can leave comment and like other people's posts.
- User
- Post
- Friendship
- Comment
- Like
- Users signing up, creating posts, send friend requests to other users, leave comment to other people's posts and also like posts.
-
Used RSpec for browser-side test.
-
Used Capybara gem for client-side(integration) tests.
-
run
bundle exec rspec
in your terminal test the project.
This is an open source project. Feel free to add your feedback. If, for any reason, this project doesn't work as supposed to be in your computer, create an issue so we can help you out with it. Also, you can request for a feature to be added.
Ruby on Rails Git VS Code Atom
Marios Kanellopoulos
- Github: @mariosknl
- Twitter: @mariosknl
- Linkedln: marios-kanellopoulos
- Portfolio: marios-kanellopoulos
Kubilay Caglayan
- Github: @kubilaycaglayan
- Twitter: @kbcaglayan
- Linkedln: kubilay-caglayan
- Portfolio: kubilay-caglayan
Give a star if you like this project!
- Microverse
- https://github.com/microverseinc/ror-social-scaffold
- https://smartfunnycool.com/friendships-in-activerecord/
- https://explainextended.com/2009/03/07/selecting-friends/
This project is MIT licensed