-
Notifications
You must be signed in to change notification settings - Fork 0
Feature/be 01 endpoints for user and application #19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…tion # Conflicts: # functions/package-lock.json # functions/package.json
Auth & Ticket
…tion # Conflicts: # functions/src/controllers/auth_controller.ts # functions/src/routes/index.ts
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
hib4
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!!
User description
Overview
Complete docs can be found in the postman docs shared in the group.
Future todo @heryandjaruma :
PR Type
Enhancement
Description
Migrate auth to session cookies with CSRF
Add application endpoints (patch, questions, status)
Implement file upload handling & validation
Enhance server (CORS, cookies, logging)
Changes walkthrough 📝
2 files
Enable storageBucket & fake data populatorConfigure CORS options for API14 files
Add application controllers & validationMigrate auth to session cookie & CSRFImplement session cookie auth middlewareAdd CSRF protection middlewareAdd role-based access middlewareDefine RoleType enumCreate application routesUpdate auth routes for session APIRegister application routesEnhance server: cookies, CSRF, loggingDefine application types & enumsAdd TypedRequestBody interfaceExtend fake data populator for questionsAdd session JWT utilities2 files
Remove auth middleware from ticket routesAdjust user routes middleware1 files
Document application endpoints1 files
Update dependencies & build scripts