Skip to content
This repository has been archived by the owner on Apr 5, 2022. It is now read-only.

dmfrancisco/pomada

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

This project is abandoned and incomplete. Pomada started as a simple web app for the pomodoro technique.

The goal of this experiment was to create a single client-side codebase that could be used to generate a Web App, a Chrome Packaged App and a Mac App (using Cordova Mac, node-webkit or App.js), while still making use of common good practices available today in traditional web frameworks (such as layouts and templates, asset combination and minification, cache busting, etc.).

It contains a demo server written in the Ruby language that uses the Sinatra microframework, and a client that executes in the browser written in CoffeeScript and structured with Backbone.js. The Middleman framework was used to optimize the client code.

The client is fully decoupled from the server. They communicate through a simple REST API. The server supports CORS requests to enable cross-domain communication.

screenshot


Commands to install dependencies and run the demo server:

cd server
bundle
ruby app.rb -p 9292

Commands to build the client from source:

cd client
bundle
middleman build

For convenience, middleman offers a development server:

middleman server