Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 925 Bytes

README.md

File metadata and controls

33 lines (24 loc) · 925 Bytes

Web Messenger

Setup

  1. Install dependencies: bundle install
  2. Run database migrations: rake db:migrate

Use

  1. Start application server: rails server
  2. Start server for realtime messaging (thin should be started at production environment): rackup private_pub.ru -s thin -E production
  3. Open http://localhost:3000 in browser #1 and in browser #2. These should be different browsers/tabs that do not share coockies :)
  4. Enter a unique user name in each browser and begin chatting!

Features

  1. Chat refreshes in realtime
  2. You can have as many chat rooms as you wish (one per companion)

TODO

  1. Improve styles :)
  2. Write more specs
  3. Refactor Ruby
  4. Refactor JS, introduce AngularJS
  5. Allow chat room to contain more than two people
  6. Make real user authentication system (now only temporarily guests and chats)