Commit graph

48 commits

Author SHA1 Message Date
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
Sorrel Bri
ef1ef00109 change server Procfile to npm start 2020-01-09 11:35:25 -08:00
Sorrel Bri
679f5dbb47 remove path from server Procfile 2020-01-09 11:17:44 -08:00
Sorrel Bri
36671d1a91 add path to server Procfile 2020-01-09 11:10:38 -08:00
Sorrel Bri
b45cc50ef2 add node to server Procfile 2020-01-09 11:03:06 -08:00
Sorrel Bri
eefd029cd2 redeploy with namespaced scripts 2020-01-09 10:32:20 -08:00
Sorrel Bri
224c5ba79f add Procfiles for deploy 2020-01-09 10:23:53 -08:00
Sorrel Bri
bb462307a3 stub mocha/chai for testing server 2020-01-08 13:25:28 -08:00
Sorrel Bri
7e2156ff06 stub middleware (including socket), controllers architecture 2020-01-08 11:24:24 -08:00
Sorrel Bri
bdefc1d070 connect socket 2020-01-07 23:17:10 -08:00
Sorrel Bri
c18951b838 connect to db with knex 2020-01-07 21:46:24 -08:00
Sorrel Bri
da1dc694f3 restrict CORS to env defined origin 2020-01-07 13:43:20 -08:00
Sorrel Bri
1b642eea2d configure simple CORS 2020-01-07 13:30:19 -08:00
Sorrel Bri
b025adc6a7 stub basic connection 2020-01-07 13:03:59 -08:00
Sorrel Bri
9f8d504e95 add react frontend structure 2020-01-07 12:19:11 -08:00