Skip to content

guiman/sinatra_realtime_chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sinatra Realtime Chat

A little chat app using sinatra streaming!

You can try it online Sinatra realtime app

What can you expect from this repo

So this is just a pet project I started to learn about:

  • sinatra: Looking forward to building simpler and faster apps
  • Caching: Investigating about how http and browsers handle caching and be able to improve perfomance this way. I found this article about different ways of caching
  • SSE (Server Sent Events): This is why I started with sinatra, I'm trying to build more realtime interaction apps with ruby and found out that It's already built in with this framework. Basics about SSE can be found in this article: HTML5Rocks SSE Basics
  • Integration testing: I've been looking for a project to make integration testing with Capybara.

Dependencies

Main:

  • sinatra
  • data_mapper
  • thin (seems like Webrick just is not able to handle connections)
  • pg (Postgress db access)

Testing:

  • capybara
  • poltergeist
  • rake
  • xpath

Author

Alvaro F. Lara

About

A realtime chat using sinatra streaming

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published