Commit graph

19 commits

Author SHA1 Message Date
afik.cohen
dc1312c970 Rename some auth0 mgmt things 2023-12-10 17:40:07 -08:00
Saurabh Misra
81502395ec Add auth0 management code 2023-12-10 17:26:30 -08:00
afik.cohen
99e3faf2e0 Change route to /cfapi/ to not conflict with webapp /api/ 2023-12-07 20:13:08 -08:00
afik.cohen
e4c60badcc Add request logger middleware to express server 2023-12-07 16:03:03 -08:00
Saurabh Misra
ea101d502a Add top-level api healthcheck '/' 2023-12-07 15:47:44 -08:00
Saurabh Misra
458c68dd0a Add api healthcheck, without the auth guard 2023-12-07 15:15:23 -08:00
Saurabh Misra
9adb2dc035 Add api healthcheck 2023-12-07 15:06:53 -08:00
afik.cohen
2d14d125cc Deployed CF-API successfully. Uses @codeflash-ai/common package. Added ESlint rules and a copy of the prisma folder. 2023-12-05 18:47:44 -08:00
afik.cohen
d99a45d922 Reformat 2023-12-04 17:54:33 -08:00
afik.cohen
dcdf322176 Linters: Install prettier and fix up eslint configs 2023-12-04 16:08:51 -08:00
afik.cohen
b7a0e4d871 Add Check if the user is a collaborator on the repository 2023-12-04 15:24:30 -08:00
afik.cohen
06c6e9b47c Get user nickname from auth0 mgmt 2023-12-04 14:57:59 -08:00
Saurabh Misra
0068ab13eb WIP Auth0 auth 2023-12-04 11:42:09 -08:00
Saurabh Misra
bb7a072e50 WIP Auth0 auth 2023-12-03 20:13:24 -08:00
afik.cohen
9b4ce2aeb6 Use apikeyexists func in common 2023-12-03 18:25:37 -08:00
afik.cohen
03f195da38 Move token functions to common and change prisma schema to make api keys unique columns 2023-12-03 18:08:11 -08:00
Saurabh Misra
f21dac3650 Simple change 2023-12-03 17:30:47 -08:00
afik.cohen
10d7694fe4 Provide bearer in auth headers and owner/repo in suggest-pr-changes request 2023-12-03 17:14:51 -08:00
Saurabh Misra
14dd6ea2cd
Webapp Authentication and API Key Token generation (#36)
Co-authored-by: afik.cohen <aphexsa@gmail.com>
2023-12-03 15:25:53 -08:00
Renamed from js/githubapp/index.ts (Browse further)