8 Commits

Author SHA1 Message Date
Daniel J. Summers
9de713fc6a Fixed "answered" API error 2018-05-27 18:00:37 -05:00
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
2b6f7c63d0 route handler translation 2018-03-31 22:13:26 -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
d92ac4430e Split routes, router, and handlers into different files 2018-03-11 22:38:13 -05:00
Daniel J. Summers
8c801ea49f Interim commit; started work on routes 2018-01-18 11:29:01 -06:00