Commit graph

480 commits

Author SHA1 Message Date
Sorrel Bri
a9a10c1adb add login hook to frontend 2020-02-05 16:45:20 -08:00
Sorrel Bri
18d351d698 add validation for username and email on signup 2020-02-05 16:45:20 -08:00
Sorrel Bri
2c9aca4856 add client side password confirmation check 2020-02-05 16:45:20 -08:00
Sorrel Bri
b8b7890e4f refactor auth and api/index to ensure token verified and sent to dispatch ADD_USER 2020-02-05 16:45:20 -08:00
Sorrel Bri
465a3342f2 refactor auth and api/index to ensure token verified and sent to dispatch ADD_USER 2020-02-05 16:45:20 -08:00
Sorrel Bri
5fa43f8b7e refactor to fetch to ensure proper cookie storage 2020-02-05 16:45:20 -08:00
Sorrel Bri
080ab8a994 serve user from verified jwt 2020-02-05 16:45:20 -08:00
Sorrel Bri
97efe2314b add FormError component to display auth errors 2020-02-05 16:45:19 -08:00
Sorrel Bri
969e44e8e5 hook reducer into signup post response 2020-02-05 16:45:19 -08:00
Sorrel Bri
e4d4652d1b patch server production env allowed origin 2020-02-05 16:45:19 -08:00
Sorrel Bri
42d10a55cd patch signup post for existing user to return 409 2020-02-05 16:45:19 -08:00
Sorrel Bri
9b02705a91 hook reducer into auth/signup request service 2020-02-05 16:45:19 -08:00
Sorrel Bri
78ba0a035e stub styling of side and main content 2020-02-05 16:45:19 -08:00
Sorrel Bri
9014564180 stub sidebar component to display auth form 2020-02-05 16:45:19 -08:00
Sorrel Bri
fee04ec269 stub tests for page components 2020-02-05 16:45:18 -08:00
Sorrel Bri
34959d8e44 debug password hashing function 2020-02-05 16:45:18 -08:00
Sorrel Bri
36c75e9126 stub frontend requests to auth endpoints 2020-02-05 16:45:18 -08:00
Sorrel Bri
1e706fe20f add validation and sanitization for auth/. posts 2020-02-05 16:45:18 -08:00
Sorrel Bri
f35bc165fd patch to remove timeout from login test 2020-02-05 16:45:18 -08:00
Sorrel Bri
98fdf6926c add login verification of user 2020-02-05 16:45:17 -08:00
Sorrel Bri
30c0f9ad97 patch knexfile name to run migrations 2020-02-05 16:45:17 -08:00
Sorrel Bri
8af3685cba add password hash to new user 2020-02-05 16:45:17 -08:00
Sorrel Bri
9a0045d99b stub new user sign up 2020-02-05 16:45:17 -08:00
Sorrel Bri
7b4b48050d add sign jwt function and hook to auth/signup 2020-02-05 16:45:17 -08:00
Sorrel Bri
a629225fae stub auth routes and controllers 2020-02-05 16:45:17 -08:00
Sorrel Bri
cd1273e645 debug migrations path 2020-02-05 16:45:17 -08:00
Sorrel Bri
3a5125893b debug produciton db connection 2020-02-05 16:45:17 -08:00
Sorrel Bri
458876a2b4 add migrate command to server Procfile 2020-02-05 16:45:17 -08:00
Sorrel Bri
1661b3fe65 add create user table migration 2020-02-05 16:45:17 -08:00
Sorrel Bri
413cf63192 deploy subdirectories successfully 2020-02-05 16:45:16 -08:00
Sorrel Bri
d7cf6c44eb return README to root directory 2020-02-05 16:45:16 -08:00
Sorrel Bri
7ef212643d move react module into subdirectory 2020-02-05 16:45:16 -08:00
Sorrel Bri
18d744a7a5 confirm successful deployment 2020-02-05 16:45:16 -08:00
Sorrel Bri
b62458218b add runtime env for production enironment 2020-02-05 16:45:16 -08:00
Sorrel Bri
173bb8766c add production endpoints to react config 2020-02-05 16:45:16 -08:00
Sorrel Bri
48546c9448 change server Procfile to npm start 2020-02-05 16:45:16 -08:00
Sorrel Bri
5977c686a5 remove path from server Procfile 2020-02-05 16:45:16 -08:00
Sorrel Bri
d2fe74ffec add path to server Procfile 2020-02-05 16:45:16 -08:00
Sorrel Bri
f3208819c8 add node to server Procfile 2020-02-05 16:45:16 -08:00
Sorrel Bri
07070439f1 empty react Procfile 2020-02-05 16:45:16 -08:00
Sorrel Bri
cd22eb89e1 add run to Procfile 2020-02-05 16:45:15 -08:00
Sorrel Bri
328bf9128f remove npm from start command 2020-02-05 16:45:15 -08:00
Sorrel Bri
56fbc34ba3 redeploy with namespaced scripts 2020-02-05 16:45:15 -08:00
Sorrel Bri
65bffa11a1 add Procfiles for deploy 2020-02-05 16:45:15 -08:00
Sorrel Bri
e42118d6aa config flow 2020-02-05 16:45:15 -08:00
Sorrel Bri
cc6b00b72b patch page function tests, import pages in App 2020-02-05 16:45:15 -08:00
Sorrel Bri
2ae07a1a99 stub page components 2020-02-05 16:45:15 -08:00
Sorrel Bri
24c4130f7f stub mocha/chai for testing server 2020-02-05 16:45:15 -08:00
Sorrel Bri
6a373a1172 stub react pages structure 2020-02-05 16:45:15 -08:00
Sorrel Bri
34dbdaab7b stub middleware (including socket), controllers architecture 2020-02-05 16:45:15 -08:00