Daniel J. Summers
91daa387cb
Misc final tweaks
...
- Handle notes being nil
- Distinguish between request not found, error retrieving notes, and no notes for present request
- Minor UI tweaks to use smart quotes
2018-05-27 19:26:52 -05:00
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
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
8d84bdb2e6
app/API build adjustments; get user from ctx
2018-03-12 23:14:16 -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
Daniel J. Summers
8c801ea49f
Interim commit; started work on routes
2018-01-18 11:29:01 -06:00
Daniel J. Summers
fe4c1b606e
Rearranged API files so Babel could process them
...
The way they were, Babel was also processing the node_modules folder
2017-09-23 22:08:30 -05:00
Daniel J. Summers
181dc5ea63
"Mark Prayed" works
2017-09-22 22:30:00 -05:00
Daniel J. Summers
c703d717d8
Wrote API calls for history updates
...
Also switched app pkg mgt to yarn
2017-09-22 19:27:23 -05:00
Daniel J. Summers
015645aa86
Adding request works (mostly)
...
Everything works except adding the new request back to the list; this
proof of concept is a go, and will be merged to master
2017-09-21 18:45:06 -05:00
Daniel J. Summers
794a365f08
Many changes
...
- Express -> Koa
- Babel for transforming 'import' into 'require'
- SQL done for adding request; just need to get the app to call it
2017-09-19 22:20:17 -05:00
Daniel J. Summers
270ac45e8c
Create tables/indexes on startup
...
Ready to create a request
2017-09-16 13:16:02 -05:00
Daniel J. Summers
fc02112295
Looks promising
...
The proof of concept has been proven
2017-09-15 22:38:45 -05:00