KevinMidboe a28a8ccacb When selecting prize, add winner to wine.
Changed the way we register a prize for winner.
Now we have a new prize_selected boolean field on a winner. This is
used to filter on when finding what winners have not selected a prize
yet. This also replaces the previous method of removing virtualWinners
after they selected a prize.

PrelotteryWine also get's a winner reference. This is used to filter on
when finding what prizes are left, and also makes it easier to
archive/register a lottery when the wine has a winner attached.
2021-02-18 20:50:30 +01:00
2020-10-22 22:13:07 +02:00
2020-09-23 23:29:36 +02:00
2020-01-31 16:13:14 +01:00
2020-03-17 15:33:35 +01:00
2020-09-10 13:44:51 +02:00
2020-12-06 21:38:37 +01:00
2020-11-01 13:22:37 +01:00
2021-01-26 23:04:49 +01:00
2020-12-06 21:38:37 +01:00

Vinlottis 🍾

Build Status


Vinlottis is the unofficial website for Knowit's wine-lottery, usually happening every friday at around 15:00.

Prerequisites

mongodb
nodejs
npm

Run dev

Since the backend and API runs separate from the Vue-on-save-compiler, when running the dev-server, the backend needs to be run separate

$ npm run dev
$ node server.js

Run prod

$ npm run build && node server.js
Description
Vinlottis is a home-brewed solution for wine-lottery
Readme 9.6 MiB
Languages
Vue 55.5%
JavaScript 39.4%
SCSS 3.9%
CSS 0.6%
HTML 0.6%