Skip to content

A chat application tutorial by evilmartians.com using Rails with Webpack. Includes component-based Javascript structure. https://evilmartians.com/chronicles/evil-front-part-1

Notifications You must be signed in to change notification settings

PMGH/evil-martians-chat

Repository files navigation

README

Follows a tutorial by EvilMartians. https://evilmartians.com/chronicles/evil-front-part-1

The application is a Ruby on Rails real-time Chat application that uses ActionCable (websockets) to broadcast messages to listeners.

It uses a component-based file structure (see frontend directory) with Webpack (no sprockets) for the asset pipeline.

Login

Chat

Where can I try it out?

The application is currently available on Heroku at: https://evilchat-test.herokuapp.com/


Getting started:

Prerequisites:

To run:

overmind s -f Procfile.dev

Ensure you have the Prerequisites above.

Overmind (process manager) is used to run the dev server and webpack-dev-server. It is configurable through the Procfile.dev

Note: there are 2 Procfiles. One for Production Procfile and one for Development Procfile.dev environments. Procfile.dev includes the webpack-dev-server.*


Precommit Linting:

Linting Rules:

  • eslint (air-bnb and prettier)

  • stylelint

Prepush Testing