Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Sinatra Addressbook application backed by MongoDB

tree: d6c1b59ccc

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 black_book
Octocat-spinner-32 lib
Octocat-spinner-32 mocks
Octocat-spinner-32 public
Octocat-spinner-32 test
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.md
Octocat-spinner-32 Rakefile
Octocat-spinner-32 app.rb
Octocat-spinner-32 config.ru.example
README.md

Black Book

BlackBook is a simple addressbook (phone, email, postal addresses) application written in sinatra and backed by MongoDB. (I say mongo and not anything else, as I'm using the ruby driver at this time, with no ODM, ORM or whatever.)

As if simple wasn't enough of a clue, the app itself has almost no validation, and no authentication. All it really does is display a list of names, and then an address page when you click on the name. Parameters are whitelisted though, and must pass basic validations.

TODO

  • Add some javascript (maybe allow inline editing?).
  • Add some tests, I guess.
  • Add faculty for storing correspondence, e.g. scans of letters in GridFS, and transcripts.
  • Re-write using Express
Something went wrong with that request. Please try again.