progapandist / evil_chat

Code for "Evil Front: Modern Front-end in Rails" 3-part tutorial: https://evilmartians.com/chronicles/evil-front-part-1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Evil Chat

Code for a chat application from "Modern Front-end in Rails" three-part tutorial from Evil Martians. Read it here:

An opinionated guide to modern, modular, component-based approach to handling your presentation logic in Rails that does not depend on any front-end framework. Follow our three-part tutorial to learn the bare minimum of up-to-date front-end techniques by example and finally make sense of it all.

The master branch contains the final code for the demo application with some light modifications that add SVG icons to demonstrate postcss-inline-svg plugin.

If you are looking for code that reflects application at the end of Part 2, take a look at this branch.

Installation

$ cp config/database.yml.example config/database.yml
$ cp config/secrets.yml.example config/secrets.yml

$ bundle install
$ rails db:migrate
$ yarn install
$ brew install hivemind
$ hivemind Procfile.dev

About

Code for "Evil Front: Modern Front-end in Rails" 3-part tutorial: https://evilmartians.com/chronicles/evil-front-part-1


Languages

Language:Ruby 67.7%Language:HTML 17.7%Language:JavaScript 7.7%Language:CSS 6.9%