Commit Graph

63 Commits

Author SHA1 Message Date
Michael Fatemi
603b7532e4 add 'await' to getPool 2021-04-10 21:26:07 -04:00
Michael Fatemi
85d54333be improve validation 2021-04-10 21:18:08 -04:00
Michael Fatemi
f6e8c8f357 Add code for creating a group 2021-04-10 21:00:36 -04:00
Michael Fatemi
70a32955e6 Add name to Group model 2021-04-10 20:56:06 -04:00
Michael Fatemi
c4d9830ea6 use ObjectIDs 2021-04-10 20:50:46 -04:00
Michael Fatemi
ad7f746d88 Add querying pools by group ID 2021-04-10 20:34:15 -04:00
Michael Fatemi
0d53ed2352 add join_pool API method 2021-04-10 20:06:42 -04:00
Michael Fatemi
fa4c931742 fix sending promise through json 2021-04-10 19:56:19 -04:00
Michael Fatemi
9622ede6e0 feat: fixed typings and get db methods 2021-04-10 19:27:08 -04:00
Michael Fatemi
db8da4a55e update models 2021-04-10 19:15:05 -04:00
Michael Fatemi
f454f31d32 remove unused import 2021-04-10 19:04:04 -04:00
Michael Fatemi
fc122b5ac8 Merge branch 'main' of https://github.com/myfatemi04/Carpool-Backend into main 2021-04-10 19:03:39 -04:00
Michael Fatemi
9ccb0c8045 improve registerUserFromIonProfile 2021-04-10 19:02:41 -04:00
a08a04e7a9
Merge branch 'main' of github.com:myfatemi04/Carpool-Backend into main 2021-04-10 18:59:12 -04:00
32aa0d0a9c
feat: began adding db get methods 2021-04-10 18:59:08 -04:00
Michael Fatemi
01aa0f45d7 get user by email 2021-04-10 18:58:20 -04:00
Michael Fatemi
956ba14e29 Implement getUser methods 2021-04-10 18:49:41 -04:00
Michael Fatemi
743dec9c38 Merge branch 'main' of https://github.com/myfatemi04/Carpool-Backend into main 2021-04-10 18:35:15 -04:00
Michael Fatemi
367de18a54 Update package-lock json 2021-04-10 18:35:01 -04:00
1c48408ecb
feat: finished connected mongodb 2021-04-10 18:33:24 -04:00
ef1fd9d67e
fix removed @types/mongoose 2021-04-10 18:19:23 -04:00
055ee61f56
fix: fixed document extend type errors 2021-04-10 18:17:58 -04:00
31966a8e65
Merge branch 'main' of github.com:myfatemi04/Carpool-Backend into main 2021-04-10 17:32:33 -04:00
2cbe9643b9
feat: added models.ts and continued backend work 2021-04-10 17:30:57 -04:00
Michael Fatemi
ea9ae6120f add access token middleware 2021-04-10 16:47:19 -04:00
Michael Fatemi
d7f3b954d9 fix type issues 2021-04-10 16:28:39 -04:00
Michael Fatemi
a53a982ec9 working login with Ion! 2021-04-10 15:42:05 -04:00
Michael Fatemi
ce1c28acc7 Merge branch 'main' of https://github.com/myfatemi04/Carpool-Backend into main 2021-04-10 15:23:56 -04:00
Michael Fatemi
a3afcee979 Add create_session method 2021-04-10 15:23:04 -04:00
nkanchinadam
ecdcb604d4
Add files via upload 2021-04-10 15:11:20 -04:00
Michael Fatemi
530a3f54d2 remove post/user 2021-04-10 15:11:08 -04:00
Michael Fatemi
50013f6340 add registration code 2021-04-10 15:09:53 -04:00
Michael Fatemi
43edcb5826 add authentication 2021-04-10 15:07:06 -04:00
nkanchinadam
1ddba82810
Add files via upload 2021-04-10 14:32:25 -04:00
Michael Fatemi
7184974ab6 add email field 2021-04-10 13:35:00 -04:00
33757c6bb9
feat: added username field to user and changed routes 2021-04-10 13:33:11 -04:00
Michael Fatemi
25cec53f39 add cors 2021-04-10 13:30:20 -04:00
Michael Fatemi
f706fcf718 add app.use api 2021-04-10 13:19:07 -04:00
Michael Fatemi
fa98ac37ed API 2021-04-10 13:18:28 -04:00
Michael Fatemi
7abd6fc05a Merge branch 'main' of https://github.com/myfatemi04/Carpool-Backend into main 2021-04-10 13:18:21 -04:00
Michael Fatemi
f106ad8a77 add GET /my_pools 2021-04-10 13:14:12 -04:00
nkanchinadam
5b149ee803
Add files via upload 2021-04-10 13:05:43 -04:00
e15ef4f453
feat: added .env and changed tsconfig 2021-04-10 12:55:11 -04:00
nkanchinadam
425a03914e
Add files via upload 2021-04-10 12:51:59 -04:00
8c77b33061
feat: added yarn.lock 2021-04-10 12:32:10 -04:00
nkanchinadam
9273d153cd
Add files via upload 2021-04-10 12:05:14 -04:00
Michael Fatemi
dfc06182a4 rename post to pool 2021-04-10 11:44:43 -04:00
Michael Fatemi
b09bb33b95 integrate API 2021-04-10 11:39:25 -04:00
Michael Fatemi
b56f5afe37 add dummy user 2021-04-10 11:39:16 -04:00
Michael Fatemi
b07ccd7232 fix npm start 2021-04-10 11:39:04 -04:00