Skip to content

This repo includes intial code for social media app. Its purpose is to be a starting point for Microverse students.

License

Notifications You must be signed in to change notification settings

kubilaycaglayan/social-media

 
 

Repository files navigation

SOCIAL MEDIA WEBSITE

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.

Timeline

timeline

How to Run Code

  • 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.

Usage

  • 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.

Models

  • User
  • Post
  • Friendship
  • Comment
  • Like

Associations

  • Users signing up, creating posts, send friend requests to other users, leave comment to other people's posts and also like posts.

Automated Tests With RSpec

  • Used RSpec for browser-side test.

  • Used Capybara gem for client-side(integration) tests.

  • run bundle exec rspec in your terminal test the project.

Feature Section

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.

Built With

Ruby on Rails Git VS Code Atom

Authors

Marios Kanellopoulos

Kubilay Caglayan

Show your support

Give a star if you like this project!

Acknowledgments

License

This project is MIT licensed

About

This repo includes intial code for social media app. Its purpose is to be a starting point for Microverse students.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Ruby 72.8%
  • HTML 19.5%
  • SCSS 5.4%
  • JavaScript 1.3%
  • Other 1.0%