Skip to content
No description or website provided.
JavaScript Ruby Clojure Scala CoffeeScript Shell
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

Pun Tracker

Pun Tracker is an attempt to provide different implementations of the same application

Like TodoMVC but for server side languages

Concept

The Pun Tracker application should stay minimalistic but cover enough piece of a backend stack. Such as:

Current

  • A core language
  • Access to a database
  • View rendering via templates
  • Forms validation
  • File uploading
  • In general, any user interaction should access the server

next

  • Pagination
  • Unit tests
  • Authentication

future

  • And functionals test?
  • Deployement?
  • Special assets (Coffee, SASS)

The Application

Pun Tracker can contain three pages:

  • The index page should display Puns, let users delete them and vote for their favourite
  • A page that let you submit Puns. A simple text ond an image.

  • A page that let you create a User (Or modify your profile)

Current examples

LanguageFrameworkDatabase
ScalaPlay 2H2 In Memory
RubyRails3SQLite
ClojureCompojureDatomic

Bugs

  • Play2: Slick don't like the "delete" keyword
  • Test Suite: Getting better at selectors
  • Need to have a consistent design

Hacking

If you want to add your own implementation of Pun Trackr in your favourite language, it's simple. (And much appreciated ^^)

First, make sure your favourite framework is not already in the list. If it's the case, feel free to propose improvements!

If not:

  • create a new branch (It will make the Pull Request easier)
  • Have fun
  • Validate your application against the Casper suite by running ./run-tests -s server-address
  • Push your code and create a Pull Request!

Ideas

Making CasperJS tests to valid implementation of everything

Same thing for API and command line tools

Something went wrong with that request. Please try again.