Commit graph

54 commits

Author SHA1 Message Date
Sorrel Bri
5a2d5648e0 stub games/:id endpoint to join game socket room 2020-02-05 16:44:36 -08:00
Sorrel Bri
f0c0b9a0f6 refactor join_game_request to require unique users 2020-02-05 16:44:36 -08:00
Sorrel Bri
eeca5480ec connect join_game_request socket at client and server 2020-02-05 16:44:35 -08:00
Sorrel Bri
d882fe9bcf patch rooms/:id failure to return multiple games 2020-02-05 16:44:35 -08:00
Sorrel Bri
6aecd7d48e patch no-query bug in rooms/ endpoint 2020-02-05 16:44:35 -08:00
Sorrel Bri
523bec7446 refactor api rooms/:id endpoint to deliver current room without table join 2020-02-05 16:44:35 -08:00
Sorrel Bri
63a9233b15 serve room with message data from api/v1/rooms/:id 2020-02-05 16:44:35 -08:00
Sorrel Bri
c992bf4b4f serve room with joined game data from api/v1/rooms/:id 2020-02-05 16:44:35 -08:00
Sorrel Bri
6c0d1fbc7c stub room socket connection (client + server) 2020-02-05 16:44:34 -08:00
Sorrel Bri
ebb23863dd add message table with migration 2020-02-05 16:44:34 -08:00
Sorrel Bri
0f507ef316 add move table with migration 2020-02-05 16:44:34 -08:00
Sorrel Bri
51bd3fb832 add game table with seed and migration 2020-02-05 16:44:34 -08:00
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