GithubHelp home page GithubHelp logo

wm-tipper's Introduction

WM Tipper

WM Tippspiel für Brasilien 2014

WM Tipper ist ein kostenloses Open-Source Tippspiel zur Fussball WM 2014. Das Spiel basiert auf Tippgruppen, die erstellt werden und selbst ihren Einsatz, den Preis und die Regeln bestimmen. Es gibt pro Gruppe eine Bestenliste, sowie eine Gesamtbestenliste.

Technisch wurde das Spiel mit Node.js (Express), Jade, MongoDB (Mongoose) und Bootstrap umgesetzt.

Pull Requests willkommen.

Das WM Tippspiel findet ihr hier.

Credits gehen an sahat für seinen exzellenten Hackathon Starter

wm-tipper's People

Contributors

tmaximini avatar

Stargazers

 avatar  avatar Alexey Elizarov avatar

Watchers

 avatar James Cloos avatar

Forkers

trigrab

wm-tipper's Issues

Calculate user points effectively

Currently points get calculated just per tip as a virtual through mongoose.
we need an effective and performant way to display all users ordered by their total points, so we probably need to cache them or we might embed the tips into the user model.

Match does not get populated correctly in tip virtual

Tip has a virtual field called points
In this field, the points for s specific tip get evaluated.
currently the necessary according fields of the referenced Match do not get populated correctly, so the points can not be calculated at the moment.

Flags for world cup 2018

Hi,

I just saw that there are some flags missing for this years world cup.
These are:

  • Egypt
  • Saudi-Arabia
  • Morocco
  • Peru
  • Denmark
  • Nigeria
  • Serbia

I don't know the code of this project and therefore I am not able to do this as a pull request. Is it really just adding the flags with correct (german) names?

Multiple tips at once

Adding each tip at a time seperately is tedious and time consuming.
It would be great if we can enter all tips in the group overview at once.

test scenario

create a group with multiple users and tips
change match dates back to past
see if cron job performs calculation as expected
how to deal with equal scrores / shared places?

get replicaSet connection working with mongoose

currrently seeing:

b/lib/mongodb/db.js:222 if(databaseName.indexOf(invalidChars[i]) != -1) throw new Error("database ^ Error: database names cannot contain the character '.' at validateDatabaseName (/Users/thomas/projects/start/wm-tipper/node_modules/connect-mongo/node_modules/mongodb/lib/mongodb/db.js:222:59)

improve build job

  • use sass instead of less.
  • add watchers for auto compile
  • add live-reload

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.