/chirp

Fun rails 5 app with vuejs that fetches a user's latest tweets

Primary LanguageRubyMIT LicenseMIT

README

Overview

This application allows a user to view a twitter user's latest tweets (default 25). It also includes support for real-time follow/search activity across all users of the site

Tech Stack

This is a Rails 5 application. However, to support a more interactive experience, it is primarily a Singe Page Application using the vuejs front-end framework and vue-router. We also use the vuex to manage global state on the front-end. To support real-time activity stream features, we utilize Rail's ActionCable together with Redis in production. Furthermore, we utilize Sprockets Commoner to give us support for ES6 syntax and other Babel transformations. Lastly, we use devise together with the PostgreSQL database to support authentication on the site.

Ruby

  • 2.3.1 in development
  • 2.3.1 in production (Heroku)

Node (5+)

We use node and npm to utilize Sprockets Commoner's Javascript build system

Setup

git clone git@github.com:fuentesjr/chirp.git
cd chirp
gem install bundler # If not already installed
bundle install

Deployment (Heroku)

Deploying to Heroku is as simple as pushing to github master branch. We utilize heroku's automatic-deploys

Testing (+VCR)

To run tests:

rails test