1d714d1e5a62c9437a53645af722470c58438cc8
- Removed the router from virtualRegistration so router.js handles routing and virtualRegistration only exports functions. - Refactored what code is in each of the virtual(Lottery/Registration) files. /finish in Lottery now only sends update to all winners and delegates sending to next winner in line, and setting timeout to virtualRegistration. - Better error handling and all responses from virtualRegistration has message in json response.
vinlattis
Prerequisits
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%