Commit graph

64 commits

Author SHA1 Message Date
Sorrel Bri
279f27349f stub make move socket message to add move to game 2020-01-31 20:28:39 -08:00
Sorrel Bri
4336666eef refactor make move to serve game meta data with game record 2020-01-30 23:35:39 -08:00
Sorrel Bri
999a8cf041 check legality of move prior to posting 2020-01-30 23:24:40 -08:00
Sorrel Bri
4a06a6939f stub make move to game service 2020-01-30 22:50:34 -08:00
Sorrel Bri
63afa73570 stub game services to store active games 2020-01-30 21:03:27 -08:00
Sorrel Bri
3aeadb48cd add seed moves 2020-01-29 23:44:06 -08:00
Sorrel Bri
899d32c9cf stub game connection via socket room 2020-01-29 17:01:46 -08:00
Sorrel Bri
976293f099 refactor sockets to be launched with namespace by components 2020-01-27 22:40:03 -08:00
Sorrel Bri
33a8877597 refacor sockets on server and client to utilize dispatch for socket meessages 2020-01-25 16:50:18 -08:00
Sorrel Bri
dbd4575128 stub socket connection to game id namespace 2020-01-24 15:51:15 -08:00
Sorrel Bri
f4b8e79a3a stub games/:id endpoint to join game socket room 2020-01-24 00:07:40 -08:00
Sorrel Bri
4a960c784b refactor join_game_request to require unique users 2020-01-23 21:41:25 -08:00
Sorrel Bri
680bb41337 connect join_game_request socket at client and server 2020-01-23 21:25:08 -08:00
Sorrel Bri
f015f4242e patch rooms/:id failure to return multiple games 2020-01-23 16:14:38 -08:00
Sorrel Bri
015be6ca6b patch no-query bug in rooms/ endpoint 2020-01-23 16:04:40 -08:00
Sorrel Bri
0a66d3f93c refactor api rooms/:id endpoint to deliver current room without table join 2020-01-23 14:46:49 -08:00
Sorrel Bri
067ce69cbb serve room with message data from api/v1/rooms/:id 2020-01-21 17:02:54 -08:00
Sorrel Bri
c1d269625b serve room with joined game data from api/v1/rooms/:id 2020-01-21 16:01:35 -08:00
Sorrel Bri
c323968404 stub room socket connection (client + server) 2020-01-21 14:33:40 -08:00
Sorrel Bri
5205035d7c add message table with migration 2020-01-20 23:36:52 -08:00
Sorrel Bri
a10453a848 add move table with migration 2020-01-20 23:19:22 -08:00
Sorrel Bri
d0f26d9a6c add game table with seed and migration 2020-01-20 23:05:55 -08:00
Sorrel Bri
63f1b335e9 add time_setting table with seed and migration 2020-01-20 22:39:28 -08:00
Sorrel Bri
2e76c58f88 patch remove unnecessary socket.io cookie 2020-01-20 13:47:02 -08:00
Sorrel Bri
34abfa9d29 patch https cookies in production 2020-01-18 23:53:42 -08:00
Sorrel Bri
048f518114 serve all public rooms at rooms index 2020-01-18 15:49:35 -08:00
Sorrel Bri
493a1f3e82 stub rooms index route and controller 2020-01-18 15:42:45 -08:00
Sorrel Bri
e6fb148bdc add room migration and simple seeds 2020-01-18 14:15:44 -08:00
Sorrel Bri
e4f84275b4 serve basic page at api endpoint to redirect user 2020-01-18 13:24:00 -08:00
Sorrel Bri
5fdaf85948 patch frontend api endpoint in config 2020-01-18 01:33:24 -08:00
Sorrel Bri
be3fa1ecb9 add manual set Access Control Allow Origin header 2020-01-18 01:30:15 -08:00
Sorrel Bri
baec2baf98 patch CORS 2020-01-18 01:25:52 -08:00
Sorrel Bri
015b1a63b8 add login hook to frontend 2020-01-18 00:18:51 -08:00
Sorrel Bri
653260b2fc refactor auth and api/index to ensure token verified and sent to dispatch ADD_USER 2020-01-17 21:18:50 -08:00
Sorrel Bri
3ea7dafb85 serve user from verified jwt 2020-01-17 16:32:40 -08:00
Sorrel Bri
08201228aa patch server production env allowed origin 2020-01-17 00:46:02 -08:00
Sorrel Bri
196b5e884b patch signup post for existing user to return 409 2020-01-17 00:23:18 -08:00
Sorrel Bri
dfd1268939 debug password hashing function 2020-01-15 20:04:55 -08:00
Sorrel Bri
9f9c33d344 add validation and sanitization for auth/. posts 2020-01-15 13:52:01 -08:00
Sorrel Bri
5c1fc63e61 patch to remove timeout from login test 2020-01-15 11:28:40 -08:00
Sorrel Bri
f7a77b4613 add login verification of user 2020-01-14 23:09:01 -08:00
Sorrel Bri
da80bf5f65 patch knexfile name to run migrations 2020-01-14 14:42:46 -08:00
Sorrel Bri
975ef8a74b add password hash to new user 2020-01-14 14:22:42 -08:00
Sorrel Bri
ff24d4a288 stub new user sign up 2020-01-14 12:06:25 -08:00
Sorrel Bri
86bd4e93db add sign jwt function and hook to auth/signup 2020-01-13 14:47:45 -08:00
Sorrel Bri
26f5ee24e1 stub auth routes and controllers 2020-01-09 17:44:58 -08:00
Sorrel Bri
800df45082 debug migrations path 2020-01-09 16:32:36 -08:00
Sorrel Bri
f7990fffd9 debug produciton db connection 2020-01-09 16:29:20 -08:00
Sorrel Bri
592c44ebb8 add migrate command to server Procfile 2020-01-09 16:25:57 -08:00
Sorrel Bri
6abf6d2f7d add create user table migration 2020-01-09 16:16:00 -08:00