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

srizzuto/ror-social-scaffold

 
 

Repository files navigation

Scaffold for social media app with Ruby on Rails

This project provides a social media website created with Ruby on Rails. We tried to implement a UX based on Facebook, so the user will find that he/she can log in, create a post, comment it, like it, add a friend, remove it at will and reject or accept a request for friendship.

The goal of this project was to apply MVC configuration, Forms, Active Record, Associations, Session, Cookies and Authentication, Callbacks and more.

Unit tests and Integration test were added as well (RSpec/Capybara/Shoulda).

Deployment implemented with Heroku.

Built With

  • Ruby v3.0.0
  • Ruby on Rails v6.1.3.2

Live Demo

Visit our website

Getting Started

To get a local copy up and running follow these simple example steps.

Prerequisites

Ruby: 3.0.0 Rails: 6.1.3.2 Postgres: >=9.5

Setup

Instal gems with:

bundle install

Setup database with:

   rails db:create
   rails db:migrate

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.

Usage

Start server with:

    rails server

Open http://localhost:3000/ in your browser.

Run tests

    rpsec --format documentation

Tests will be added by Microverse students. There are no tests for initial features in order to make sure that students write all tests from scratch.

Deployment

TBA

Authors

👤 Sebastian Rizzuto

👤 Barack Mukelenga

🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check the issues page.

Show your support

Give a ⭐️ if you like this project!

Acknowledgments

  • To my coding partner who helped me through all the work
  • To our Stand Up Team who kept the morale up!

📝 License

TBA

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 50.9%
  • HTML 28.2%
  • SCSS 20.0%
  • JavaScript 0.9%