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

jurgen1c/ror-social-scaffold

 
 

Repository files navigation

Stay In Touch > Friendships V1 > Milestone 5

In this branch we have created the friendship model, controller and table. Also created tests for user and friendship models.

Live Demo

Built With

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

Getting Started

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

Install

In order to run, you need to install RUBY and Rails in your computer. For windows you can go to Ruby installer and for MAC and LINUX you can go to Ruby official site for intructions on how to intall it.

Then you can clone the project by typing https://github.com/jurgen1c/ror-social-scaffold/tree/fb-friendship-v1

Prerequisites

Ruby: 2.6.3 Rails: 5.2.3 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.

Authors

👤 Ramin Mammadzada

👤 Jurgen Clausen Gutierrez

🤝 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

Microverse

📝 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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 70.1%
  • HTML 20.4%
  • SCSS 8.2%
  • JavaScript 1.3%