/capstone-ror-twitter-redesign

A social media app based on the Twitter Redesign proposed by Gregoire Vella that is developed fully on Ruby on Rails.

Primary LanguageRuby

Capstone Ruby-on-Rails Twitter Redesign

A social media app in which you can post your thoughts about general topics. This is my Capstone project for Ruby on Rails section of Microverse. The original requisites are here

Screenshots

screenshot

screenshot

Online Version

Heroku App

Content

Features

    As a logged-in user:

  • See Main Page with all users thoughts
  • Create and post your thoughts
  • Follow other users
  • Be followed by other users
  • Visit other people personal profile

Built With

  • Ruby 2.7
  • Ruby on Rails 5.2
  • Bootstrap 4
  • Postgres and Devise gem (AOT)
  • Rubocop (Linter) with Stickler (CI Tool)
  • Git, Github and VScode

Database Diagram

erd

Getting Start

Install

To use this program, you will need install:

Get a local copy

Now you need a copy of this application, if you are using Git:

git@github.com:rsnazario/capstone-ror-twitter-redesign.git

Otherwise just hit (Download Zip) on green button (Clone or Download) at top of this page.

Setup

Instal all dependencies with:

bundle install

Setup database with:

rake db:schema:load

Setup Cloudinary and Figaro

Create a Cloudinary Account and validate your e-mail. Download your cloudinary keys information.

Run Figaro Gem (It will create the config/application.yml file)

bundle exec figaro install

Replace the content with your cloudinary keys file information. Change the keys name on config/initializers/cloudinary.rb file to match the keys on config/application.yml file.

Run App

To run, from the application folder, just type on terminal:

rails server

Now you can go to your favorite web browser like Google Crome and access the url
http://localhost:3000

Test

On terminal type:

rake db:test:load

It will create database for testing, to run the tests:

rspec

Contributing

Contributions, issues and feature requests are welcome!

You can do it on issues page.

Acknowledgments

First of all, a special thanks for all Microverse Team and Code Reviewers that guides me through my learning. A special thanks to Gregoire Vella for this project, which took guidance on his project idea. The original page to check is here.

For this project, I would like to say that I appreciate all help I had from:

Author

👤 Rafael Nazario

License

Creative Commons • June 2020