Coder Social home page Coder Social logo

leohmoraes / realthyme Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chrishutchinson/realthyme

1.0 3.0 0.0 340 KB

First time Node.js / Mongo / Express project: to develop a real-time voting web app in a weekend (April 18th - 20th 2014).

JavaScript 66.13% CSS 0.51% HTML 33.36%

realthyme's Introduction

RealThyme

First time Node.js / Mongo / Express project: to develop a real-time voting web app in a weekend (April 18th - 20th 2014).

Setup

  1. Clone this repo.
  2. Make sure you have MongoDB installed. Run mongod --dbpath data to setup the database.
  3. Run npm install to install all dependencies.
  4. Run node app.js to start the server.
  5. Visit http://127.0.0.1:3000 to access the site.

"Worst. Code. Ever." ~You, probably

I'll be honest, there's probably a bunch of mistakes in this, and things that can be done 1000x better. I'd be grateful if you pointed me in the right direction if you spot anything I'm doing wrong. I'm learning as I go, thanks!

Tests

Mocha is being used to handle tests.

  1. Install Mocha globally by running npm install -g mocha.
  2. Move to the tests directory cd tests.
  3. Run mocha.

Todo

  • Allow users to add multiple choices when creating a poll
  • Real time voting system (comparative = measures the +ve/-ve reaction to a choice over time in comparison to the other choices | cumulative = measures the overall +ve/-ve reaction to a choice over time)
  • Implement sockets.io for real time data pushing
  • Prevent a single user voting multiple times on one poll (or allow them to vote once every n minutes)
  • Replace chart.js
  • Prevent multiple choices sharing the same name

realthyme's People

Contributors

chrishutchinson avatar

Stargazers

Léo Moraes avatar

Watchers

James Cloos avatar Léo Moraes avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.