e07e6ae09aa60e29c71d930071111d5fa2c331e0
Winner controller replaces a lot of what happens in retrieve did for aggregating when and what had been won. Now this is more clearly defined in winner.js. Also leverage mongo's query more than sorting and aggregating data like previous implementation where a lot happened in js.
Vinlottis 🍾
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
Languages
Vue
55.5%
JavaScript
39.4%
SCSS
3.9%
CSS
0.6%
HTML
0.6%