Skip to content

This is a social media app where a user can sign in with his Facebook account or with his email. He can send a friend request to another user and can decline or accept a friend request. Built with Ruby on Rails.

Notifications You must be signed in to change notification settings

martinnajjar12/ror-social-scaffold

 
 

Repository files navigation

Scaffold for social media app with Ruby on Rails

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

screenshot

Database Diagram



screenshot

A user interface screenshot



Built With

  • Ruby v2.7.1
  • Ruby on Rails v6.0.3.4

Live Demo

(https://martinking-app.herokuapp.com/)

Getting Started

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

Prerequisites

Ruby: 2.6.3 Rails: 5.2.3 Postgres: >=9.5

Setup

Instal gems with:

bundle install

Install the required dependencies via:

yarn install --check-files

Or:

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

Note: Sign in via Facebook may not work on your local machine because you don't have the access to the APP_ID and APP_SECRET.

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

Author 1

Author 2

🤝 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 and TheOdin Project

About

This is a social media app where a user can sign in with his Facebook account or with his email. He can send a friend request to another user and can decline or accept a friend request. Built with Ruby on Rails.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 74.7%
  • HTML 16.7%
  • SCSS 5.5%
  • JavaScript 3.1%