Reorgjs is a rumor generator written in jest during a socially complicated reorganisation at work.
It creates rumors by picking a name from the list of employees and adding a fact about that person (all names and rumors options are defined in the database). The user can then vote to agree or disagree with the rumor, which will prompt another randomly generated rumor.
A list of most voted rumors can be shown using the buttons on the top right corner of the page.
How it works
It uses a RESTful web service to get rumors and send the votes to the back-end.
The database (in which names, rumors and votes are stored) is SQLite.
I cannot include my version of this database on GitHub because it is filled with my colleagues names, but I included a sample database with a handful of names and options.
If you want to recreate it, here's the schema:
Air:Reorgjs florent$ echo .schema | sqlite3 reorgjs.sqlite CREATE TABLE options(opt VARCHAR); CREATE TABLE persons(name VARCHAR); CREATE TABLE votes(person INT, option INT, value INT);
persons will contain the person names as a string, and options the different rumors ("is a happy camper", "will get married soon", "loves Aqua", etc).