Skip to content

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

Notifications You must be signed in to change notification settings

dibdas/ror-social-scaffold

 
 

Repository files navigation

Social media app

In this project, users can sign up and create posts. Moreover it inherits the core functionality of social media sites such as facebook.com. Users can send request to one another and view the posts written by the user or from the user's friend list.

Features

  • Allow users to send a friend request to other users
  • Multiple request states, such as,
    • Invite to friendship
    • Accept friendship
    • Reject friendship
    • Cancel friend request sent
    • Remove friend from the list
  • Show posts written by the user and by the user's friends
  • List all mutual friends of a user
  • Followed TDD
  • End to end testing

Concept of mutual friendship

A mutual friend is an individual who has established a friendship with two people. When those two people meet, they learn that they share the same friend; that friend they have in common is their mutual friend. If the two people become friends, a circle of friendship develops between the mutual friend and the other individuals - from oel

Built With

  • Ruby v2.7.2
  • Ruby on Rails v5.2.4

Live Demo

TBA

Getting Started

  • Clone the repo https://github.com/dibdas/ror-social-scaffold.git
  • cd into the project
  • Run git pull origin friendship-v1
  • Run bundle install
  • Setup your db in the database.yml and run rails db:setup
  • Run rails s and visit localhost:3000

Prerequisites

Ruby: 2.6.3 Rails: 5.2.3 Postgres: >=9.5

Github Actions

To make sure the linters' checks using Github Actions work properly, you should follow the next steps:

  1. On your recently forked repo, enable the GitHub Actions in the Actions tab.
  2. Create the feature/branch and push.
  3. Start working on your milestone as usual.
  4. Open a PR from the feature/branch when your work is done.

Run tests

  • Run bundle exec rspec to run all the tests, or
  • Run bundle exec guard to start the guard server. The tests run when the test files are saved.

Deployment

TBA

Authors

👤 Uduak John

👤 Dibyendu Das

🤝 Contributing

  • Fork the project
  • Create your feature branch git checkout -b awesome-feature
  • Commit your changes git commit -m 'Awesome feature'
  • Push it git push -u origin awesome-feature
  • Open a pull request using this branch

Show your support

Give a ⭐️ if you like this project!

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 74.3%
  • HTML 18.4%
  • SCSS 5.2%
  • JavaScript 1.2%
  • Other 0.9%