Commit graph

683 commits

Author SHA1 Message Date
Sorrel Bri
2a4d48d26c add validation for username and email on signup 2020-02-05 16:44:33 -08:00
Sorrel Bri
d04656762e add client side password confirmation check 2020-02-05 16:44:32 -08:00
Sorrel Bri
9837814edb refactor auth and api/index to ensure token verified and sent to dispatch ADD_USER 2020-02-05 16:44:32 -08:00
Sorrel Bri
d10774c161 refactor auth and api/index to ensure token verified and sent to dispatch ADD_USER 2020-02-05 16:44:32 -08:00
Sorrel Bri
ff2e1e82b2 refactor to fetch to ensure proper cookie storage 2020-02-05 16:44:32 -08:00
Sorrel Bri
ca6773c18d serve user from verified jwt 2020-02-05 16:44:32 -08:00
Sorrel Bri
ad26f1af3a add FormError component to display auth errors 2020-02-05 16:44:32 -08:00
Sorrel Bri
0131183237 hook reducer into signup post response 2020-02-05 16:44:32 -08:00
Sorrel Bri
44636cf4f5 patch server production env allowed origin 2020-02-05 16:44:32 -08:00
Sorrel Bri
0ba2e2acdc patch signup post for existing user to return 409 2020-02-05 16:44:32 -08:00
Sorrel Bri
918b2ac5cb hook reducer into auth/signup request service 2020-02-05 16:44:32 -08:00
Sorrel Bri
285d9b7a46 stub styling of side and main content 2020-02-05 16:44:32 -08:00
Sorrel Bri
16c10d9038 stub sidebar component to display auth form 2020-02-05 16:44:31 -08:00
Sorrel Bri
3f2417dd4d stub tests for page components 2020-02-05 16:44:31 -08:00
Sorrel Bri
86b23bdf44 debug password hashing function 2020-02-05 16:44:31 -08:00
Sorrel Bri
a7f1a16ba2 stub frontend requests to auth endpoints 2020-02-05 16:44:31 -08:00
Sorrel Bri
923879e249 add validation and sanitization for auth/. posts 2020-02-05 16:44:31 -08:00
Sorrel Bri
a5bee4129b patch to remove timeout from login test 2020-02-05 16:44:31 -08:00
Sorrel Bri
68ae8615f3 add login verification of user 2020-02-05 16:44:31 -08:00
Sorrel Bri
4f5c9e11a3 patch knexfile name to run migrations 2020-02-05 16:44:31 -08:00
Sorrel Bri
73ed98622c add password hash to new user 2020-02-05 16:44:31 -08:00
Sorrel Bri
e7c2bf38cf stub new user sign up 2020-02-05 16:44:31 -08:00
Sorrel Bri
f26b8ece56 add sign jwt function and hook to auth/signup 2020-02-05 16:44:31 -08:00
Sorrel Bri
6fef68d9ba stub auth routes and controllers 2020-02-05 16:44:31 -08:00
Sorrel Bri
af01d85945 debug migrations path 2020-02-05 16:44:30 -08:00
Sorrel Bri
4aed7bbd81 debug produciton db connection 2020-02-05 16:44:30 -08:00
Sorrel Bri
c59f7df174 add migrate command to server Procfile 2020-02-05 16:44:30 -08:00
Sorrel Bri
83633509c2 add create user table migration 2020-02-05 16:44:30 -08:00
Sorrel Bri
5c747139be deploy subdirectories successfully 2020-02-05 16:44:30 -08:00
Sorrel Bri
ef5ca1f2dd return README to root directory 2020-02-05 16:44:30 -08:00
Sorrel Bri
148808979b move react module into subdirectory 2020-02-05 16:44:30 -08:00
Sorrel Bri
c056770a70 confirm successful deployment 2020-02-05 16:44:30 -08:00
Sorrel Bri
3e10f1a03c add runtime env for production enironment 2020-02-05 16:44:30 -08:00
Sorrel Bri
8912db80d7 add production endpoints to react config 2020-02-05 16:44:30 -08:00
Sorrel Bri
dbfe5c13d0 change server Procfile to npm start 2020-02-05 16:44:30 -08:00
Sorrel Bri
cbbacc0ada remove path from server Procfile 2020-02-05 16:44:30 -08:00
Sorrel Bri
ffff70229a add path to server Procfile 2020-02-05 16:44:30 -08:00
Sorrel Bri
0c433d54df add node to server Procfile 2020-02-05 16:44:29 -08:00
Sorrel Bri
8813b72ad2 empty react Procfile 2020-02-05 16:44:29 -08:00
Sorrel Bri
cb8a308872 add run to Procfile 2020-02-05 16:44:29 -08:00
Sorrel Bri
83bd12b222 remove npm from start command 2020-02-05 16:44:29 -08:00
Sorrel Bri
c0d96ffdc8 redeploy with namespaced scripts 2020-02-05 16:44:29 -08:00
Sorrel Bri
06d1b3c63b add Procfiles for deploy 2020-02-05 16:44:29 -08:00
Sorrel Bri
cbaae4fd2c config flow 2020-02-05 16:44:29 -08:00
Sorrel Bri
6486176d8f patch page function tests, import pages in App 2020-02-05 16:44:29 -08:00
Sorrel Bri
8e94b6d83c stub page components 2020-02-05 16:44:29 -08:00
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