Commit Graph

14 Commits

Author SHA1 Message Date
fd17e11e87 Register io to all req with app.set('socketio'). 2020-08-28 18:46:35 +02:00
51a7107802 Endpoints defined and exported as functions.
Changed all routes to functions and export them to app.js to handle the
registration of route using the functions exported from this file.
2020-08-28 18:45:33 +02:00
Kasper Rynning-Tønnesen
6e380c5f5c Timeouts are nice 2020-04-17 16:29:19 +02:00
Kasper Rynning-Tønnesen
4051c04c91 token -> gatewayTokeng 2020-04-06 09:42:19 +02:00
Kasper Rynning-Tønnesen
40927ac286 Add sms capabilities, and online-fixing of everything 2020-04-04 01:05:52 +02:00
Kasper Rynning-Tønnesen
cd5612c9b9 Better saving 2020-03-26 16:18:34 +01:00
Kasper Rynning-Tønnesen
4060b7409e Added more data from winner 2020-03-26 16:08:24 +01:00
7a12c929aa Moved generator to a component RaffleGenerator.
Moved generator and added to virtuallottertyregistrationpage
Removed logic for generating random colors in backend.
2020-03-16 19:56:01 +01:00
1dea04b0b2 If no winner is found for color it redraws 3 times
Redraws three times if no winner is found.
Grammatical fixes.
2020-03-16 19:34:12 +01:00
Kasper Rynning-Tønnesen
81eeabfe42 Shuffling? 2020-03-14 14:43:56 +01:00
Kasper Rynning-Tønnesen
f398db4e42 Splitting more, added chat, and fancier draw-animations 2020-03-14 14:04:07 +01:00
Kasper Rynning-Tønnesen
35e736a9d9 Add update-event for winners/attendees 2020-03-13 17:13:04 +01:00
Kasper Rynning-Tønnesen
bfbfa5a8bc Fixed so io is being sent in a better manner, and listening on the same port as the rest 2020-03-13 17:02:28 +01:00
Kasper Rynning-Tønnesen
b35dd5a971 Much virtual many lotteries 2020-03-13 16:37:08 +01:00