Commit graph

316 commits

Author SHA1 Message Date
Sorrel Bri
2b74813c14 remove npm from start command 2020-02-05 16:45:02 -08:00
Sorrel Bri
2f65341daa redeploy with namespaced scripts 2020-02-05 16:45:02 -08:00
Sorrel Bri
0356002022 add Procfiles for deploy 2020-02-05 16:45:02 -08:00
Sorrel Bri
ba1211d0d6 config flow 2020-02-05 16:45:02 -08:00
Sorrel Bri
538e911b21 patch page function tests, import pages in App 2020-02-05 16:45:02 -08:00
Sorrel Bri
7d4ffc4cc0 stub page components 2020-02-05 16:45:02 -08:00
Sorrel Bri
101def1cac stub mocha/chai for testing server 2020-02-05 16:45:01 -08:00
Sorrel Bri
fa9b049e58 stub react pages structure 2020-02-05 16:45:01 -08:00
Sorrel Bri
9f0875f483 stub middleware (including socket), controllers architecture 2020-02-05 16:45:01 -08:00
Sorrel Bri
397617eb34 connect socket 2020-02-05 16:45:01 -08:00
Sorrel Bri
395e2b1d86 connect socket 2020-02-05 16:45:01 -08:00
Sorrel Bri
90e078fa86 connect to db with knex 2020-02-05 16:45:01 -08:00
Sorrel Bri
8a203cb096 restrict CORS to env defined origin 2020-02-05 16:45:01 -08:00
Sorrel Bri
c94c64b106 configure simple CORS 2020-02-05 16:45:01 -08:00
Sorrel Bri
39cdef0b02 stub basic connection 2020-02-05 16:45:01 -08:00
Sorrel Bri
709220e19e add react frontend structure 2020-02-05 16:45:01 -08:00
Sorrel Bri
8af1ea67d3 remove views/, add controllers/ 2020-02-05 16:45:00 -08:00
Sorrel Bri
384056b3bb git init 2020-02-05 16:45:00 -08:00
Sorrel Bri
20a20cd7be init lerna 2020-02-05 16:44:38 -08:00
Sorrel Bri
3943d08ab6 stub nav form styles and fix board span bug 2020-02-05 16:44:37 -08:00
Sorrel Bri
08e76b33d0 decoupled show Auth form logic from Home sidebar for use in other sidebars on Auth errors 2020-02-05 16:44:37 -08:00
Sorrel Bri
94c40e6d07 style player area on game screen 2020-02-05 16:44:37 -08:00
Sorrel Bri
0e5c18907d stub render board state from make_move 2020-02-05 16:44:37 -08:00
Sorrel Bri
485771b8f2 stub make move socket message to add move to game 2020-02-05 16:44:37 -08:00
Sorrel Bri
293a574d2b refactor make move to serve game meta data with game record 2020-02-05 16:44:37 -08:00
Sorrel Bri
167fee8175 check legality of move prior to posting 2020-02-05 16:44:37 -08:00
Sorrel Bri
ad8a3eaff2 stub make move to game service 2020-02-05 16:44:37 -08:00
Sorrel Bri
5981daf86a stub game services to store active games 2020-02-05 16:44:37 -08:00
Sorrel Bri
cb56a98d27 stub board on game page 2020-02-05 16:44:37 -08:00
Sorrel Bri
607a4e13bf stub Game components 2020-02-05 16:44:37 -08:00
Sorrel Bri
e870d45f90 add seed moves 2020-02-05 16:44:37 -08:00
Sorrel Bri
1d8cabf5ee stub game connection via socket room 2020-02-05 16:44:37 -08:00
Sorrel Bri
857e9e0fd5 stub game connection via socket room 2020-02-05 16:44:37 -08:00
Sorrel Bri
1f89dbc481 patch to cleanup reducer directory filenames 2020-02-05 16:44:36 -08:00
Sorrel Bri
ba8a89ee6a stub default falsey values for initState function to prevent crash on 500 2020-02-05 16:44:36 -08:00
Sorrel Bri
025aee43c8 create Loading component with pinwheel ko animation 2020-02-05 16:44:36 -08:00
Sorrel Bri
261b5c5bbe add table styling to game buttons in game room 2020-02-05 16:44:36 -08:00
Sorrel Bri
ebb7ceb466 refactor all jsx to BEM 2020-02-05 16:44:36 -08:00
Sorrel Bri
79daaf1461 debug room socket connect dispatch 2020-02-05 16:44:36 -08:00
Sorrel Bri
e2537df697 refactor sockets to be launched with namespace by components 2020-02-05 16:44:36 -08:00
Sorrel Bri
0b78c78a0a refacor sockets on server and client to utilize dispatch for socket meessages 2020-02-05 16:44:36 -08:00
Sorrel Bri
f6b6134d5b stub socket connection to game id namespace 2020-02-05 16:44:36 -08:00
Sorrel Bri
67f0449963 stub socket connection to game id namespace 2020-02-05 16:44:36 -08:00
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
6eaf272d5d stub room display with messages and game link 2020-02-05 16:44:35 -08:00