Commit Graph

8 Commits

Author SHA1 Message Date
cb4a30b5e9 BIGBOY rewrite.
All endpoints have been re-worked to be more clear on what they do. They
also all have their own controller now.
2021-01-26 23:05:52 +01:00
4043954f95 Split request into controller and repo.
Also try returning better error message on exceptions and check for
errors in payload to return well-defined errors.
2021-01-11 20:52:22 +01:00
ad27ba8b33 Require statements now use path.join correctly. 2020-11-24 23:37:14 +01:00
ee5f817248 Chathistory only returns funcs and used by router. 2020-11-20 16:29:26 +01:00
d5f3a7a1f0 Separated router and user authentication. Renamed login.js to user.js and now it only exports functions for the router to use. 2020-10-22 13:29:06 +02:00
Adrian Thompson
052b5007c2 add is admin middleware 2020-09-07 15:53:03 +02:00
Adrian Thompson
4a98e79414 fix conflicts and rework routes 2020-09-07 14:49:24 +02:00
dde8fe1cbe Renamed app > router.js. VirtualLottery in router. 2020-09-06 14:07:18 +02:00