Commit graph

42 commits

Author SHA1 Message Date
Sorrel Bri
76cfbf54c3 add time_setting table with seed and migration 2020-02-05 16:44:34 -08:00
Sorrel Bri
d6c850cae1 patch remove unnecessary socket.io cookie 2020-02-05 16:44:34 -08:00
Sorrel Bri
a8750afa7e patch https cookies in production 2020-02-05 16:44:34 -08:00
Sorrel Bri
d81be0b595 serve all public rooms at rooms index 2020-02-05 16:44:34 -08:00
Sorrel Bri
a6105973f3 stub rooms index route and controller 2020-02-05 16:44:34 -08:00
Sorrel Bri
1cd1dc87a9 add room migration and simple seeds 2020-02-05 16:44:33 -08:00
Sorrel Bri
43556e97aa serve basic page at api endpoint to redirect user 2020-02-05 16:44:33 -08:00
Sorrel Bri
e0bc32078b patch frontend api endpoint in config 2020-02-05 16:44:33 -08:00
Sorrel Bri
63b95b0604 add manual set Access Control Allow Origin header 2020-02-05 16:44:33 -08:00
Sorrel Bri
4960a5f60d patch CORS 2020-02-05 16:44:33 -08:00
Sorrel Bri
78ad0b18ec add login hook to frontend 2020-02-05 16:44:33 -08:00
Sorrel Bri
9837814edb refactor auth and api/index to ensure token verified and sent to dispatch ADD_USER 2020-02-05 16:44:32 -08:00
Sorrel Bri
ca6773c18d serve user from verified jwt 2020-02-05 16:44:32 -08:00
Sorrel Bri
44636cf4f5 patch server production env allowed origin 2020-02-05 16:44:32 -08:00
Sorrel Bri
0ba2e2acdc patch signup post for existing user to return 409 2020-02-05 16:44:32 -08:00
Sorrel Bri
86b23bdf44 debug password hashing function 2020-02-05 16:44:31 -08:00
Sorrel Bri
923879e249 add validation and sanitization for auth/. posts 2020-02-05 16:44:31 -08:00
Sorrel Bri
a5bee4129b patch to remove timeout from login test 2020-02-05 16:44:31 -08:00
Sorrel Bri
68ae8615f3 add login verification of user 2020-02-05 16:44:31 -08:00
Sorrel Bri
4f5c9e11a3 patch knexfile name to run migrations 2020-02-05 16:44:31 -08:00
Sorrel Bri
73ed98622c add password hash to new user 2020-02-05 16:44:31 -08:00
Sorrel Bri
e7c2bf38cf stub new user sign up 2020-02-05 16:44:31 -08:00
Sorrel Bri
f26b8ece56 add sign jwt function and hook to auth/signup 2020-02-05 16:44:31 -08:00
Sorrel Bri
6fef68d9ba stub auth routes and controllers 2020-02-05 16:44:31 -08:00
Sorrel Bri
af01d85945 debug migrations path 2020-02-05 16:44:30 -08:00
Sorrel Bri
4aed7bbd81 debug produciton db connection 2020-02-05 16:44:30 -08:00
Sorrel Bri
c59f7df174 add migrate command to server Procfile 2020-02-05 16:44:30 -08:00
Sorrel Bri
83633509c2 add create user table migration 2020-02-05 16:44:30 -08:00
Sorrel Bri
dbfe5c13d0 change server Procfile to npm start 2020-02-05 16:44:30 -08:00
Sorrel Bri
cbbacc0ada remove path from server Procfile 2020-02-05 16:44:30 -08:00
Sorrel Bri
ffff70229a add path to server Procfile 2020-02-05 16:44:30 -08:00
Sorrel Bri
0c433d54df add node to server Procfile 2020-02-05 16:44:29 -08:00
Sorrel Bri
c0d96ffdc8 redeploy with namespaced scripts 2020-02-05 16:44:29 -08:00
Sorrel Bri
06d1b3c63b add Procfiles for deploy 2020-02-05 16:44:29 -08:00
Sorrel Bri
c0be13db8e stub mocha/chai for testing server 2020-02-05 16:44:29 -08:00
Sorrel Bri
30eca7029d stub middleware (including socket), controllers architecture 2020-02-05 16:44:29 -08:00
Sorrel Bri
6171fa85c5 connect socket 2020-02-05 16:44:29 -08:00
Sorrel Bri
c14a76e996 connect to db with knex 2020-02-05 16:44:28 -08:00
Sorrel Bri
bbdc63f61c restrict CORS to env defined origin 2020-02-05 16:44:28 -08:00
Sorrel Bri
ae0ee5e7ef configure simple CORS 2020-02-05 16:44:28 -08:00
Sorrel Bri
f17911f852 stub basic connection 2020-02-05 16:44:28 -08:00
Sorrel Bri
c8f7a7097c add react frontend structure 2020-02-05 16:44:28 -08:00