7 Commits

Author SHA1 Message Date
Daniel J. Summers
79ced40470 Most API features now work
- Switched from Vestigo to ozzo-routing in a misguided attempt to get JSON to parse as a form; not switching back at this point
- Fixed error with request SQL for individual requests
- Parsing JSON body works now

Still need to handle "no rows found" for journal/answered lists; this isn't an error for new users
2018-05-26 22:18:26 -05:00
Daniel J. Summers
419c181eff Authorization works (yay)
The journal page once again loads as it should; now to migrate the remaining routes
2018-03-31 19:58:44 -05:00
Daniel J. Summers
9637b38a3f Static files now served; auth is broken 2018-03-24 13:37:18 -05:00
Daniel J. Summers
59b5574b16 Switched to vestigo router
Also moved db reference to data module; it now starts, but doesn't serve index.html for root yet
2018-03-22 22:11:38 -05:00
Daniel J. Summers
b248f7ca7f minor tweaks towards JWTs
time box expired before completing this; one of these days...
2018-03-20 20:26:02 -05:00
Daniel J. Summers
b7406bd827 More work on auth and req ctx 2018-03-12 21:44:43 -05:00
Daniel J. Summers
d92ac4430e Split routes, router, and handlers into different files 2018-03-11 22:38:13 -05:00