issues
search
somnisomni
/
MyBoothManager
〈Codename Sora〉 ─ Booth management web application for creators
https://booth.koharu.dev
Other
9
stars
1
forks
source link
[Backend] Revamp API logic and routes: API v2
#68
Open
somnisomni
opened
3 months ago
somnisomni
commented
3 months ago
[x] Merge separated
public
/
admin
routes and logic
[x] Implement ACL
Super Admin
: Have entire access of API resources. This role should not be given to 3rd-party users and should have hard-coded login information
Booth Admin
: Have read/write access of API resources related to their own booths.
Public Visitor
: Have limited read access of public API resources
[x] Prefix routes with
/v2
Although not keeping existing routes and its logic
[x]
ClassSerializerInterceptor
as global interceptor for enforcing serialization across all routes
[x] Use built-in type pipes for route params to ensure the type of them
public
/admin
routes and logic/v2
ClassSerializerInterceptor
as global interceptor for enforcing serialization across all routes