Commit graph

687 commits

Author SHA1 Message Date
Sorrel Bri
c0be13db8e stub mocha/chai for testing server 2020-02-05 16:44:29 -08:00
Sorrel Bri
8416a83757 stub react pages structure 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
fb30588566 connect socket 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
Sorrel Bri
5cb00b90f6 remove views/, add controllers/ 2020-02-05 16:44:28 -08:00
Sorrel Bri
ebedfae532 git init 2020-02-05 16:44:28 -08:00
Sorrel Bri
ca4b7aba04 init lerna 2020-02-05 15:29:36 -08:00
Sorrel Bri
64dfe54953 stub nav form styles and fix board span bug 2020-02-04 22:52:07 -08:00
Sorrel Bri
d0d4f2429c decoupled show Auth form logic from Home sidebar for use in other sidebars on Auth errors 2020-02-04 19:21:31 -08:00
Sorrel Bri
8999b3ab3b style player area on game screen 2020-02-01 20:48:26 -08:00
Sorrel Bri
ddc7ac8548 stub render board state from make_move 2020-01-31 22:22:43 -08:00
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
3f283b47d8 stub board on game page 2020-01-30 15:56:50 -08:00
Sorrel Bri
5ef4d390ff stub Game components 2020-01-30 00:30:56 -08:00
Sorrel Bri
3aeadb48cd add seed moves 2020-01-29 23:44:06 -08:00
Sorrel Bri
09e90c97ab stub game connection via socket room 2020-01-29 23:22:50 -08:00
Sorrel Bri
899d32c9cf stub game connection via socket room 2020-01-29 17:01:46 -08:00
Sorrel Bri
8ec5b8f773 patch to cleanup reducer directory filenames 2020-01-29 13:28:49 -08:00
Sorrel Bri
0ac8ca002b stub default falsey values for initState function to prevent crash on 500 2020-01-29 13:00:00 -08:00
Sorrel Bri
572c4241f9 create Loading component with pinwheel ko animation 2020-01-29 00:17:32 -08:00
Sorrel Bri
0f02cc4cfc add table styling to game buttons in game room 2020-01-28 22:20:56 -08:00
Sorrel Bri
b45abe5559 refactor all jsx to BEM 2020-01-28 17:03:17 -08:00
Sorrel Bri
d7c0477c88 debug room socket connect dispatch 2020-01-28 14:33:54 -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
34a5fa8d6f stub socket connection to game id namespace 2020-01-24 15:50:47 -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
abfc0c7c94 stub room display with messages and game link 2020-01-23 14:45:48 -08:00
Sorrel Bri
1863cc96a2 dispatch all room data to state upon rooms/:id 2020-01-22 16:40:56 -08:00
Sorrel Bri
e6f286c743 refactor api room endpoint to return unjoined game room data 2020-01-22 16:30:28 -08:00
Sorrel Bri
c3eb7fe697 add SET_MESSAGES to reducer 2020-01-22 15:41:08 -08:00
Sorrel Bri
754d17890e refactor services and reducers to parse JSON before data hits dispatch 2020-01-22 15:16:43 -08:00
Sorrel Bri
833d8fa1dd add client routing to rooms/:id, move socket(rooms/roomId) connect from Home page to Room page 2020-01-22 11:43:36 -08:00
Sorrel Bri
067ce69cbb serve room with message data from api/v1/rooms/:id 2020-01-21 17:02:54 -08:00