Skip to content

feat: implement CMS API with authentication and CRUD operations#12

Open
TakanashaTaryu wants to merge 1 commit intoDaskom-Lab:mainfrom
TakanashaTaryu:main
Open

feat: implement CMS API with authentication and CRUD operations#12
TakanashaTaryu wants to merge 1 commit intoDaskom-Lab:mainfrom
TakanashaTaryu:main

Conversation

@TakanashaTaryu
Copy link

  • Add authentication middleware to validate Bearer JWT tokens.
  • Create routes for managing about content, divisions, events, gallery, projects, and recruitment.
  • Implement JWT signing and verification for secure admin access.
  • Seed initial data for divisions, projects, events, gallery, and recruitment.
  • Add image upload functionality to R2 storage with validation.
  • Define TypeScript types for data models and environment variables.
  • Create a conditional navbar component for admin routes.
  • Develop a shared API client for frontend components to interact with the CMS.

- Add authentication middleware to validate Bearer JWT tokens.
- Create routes for managing about content, divisions, events, gallery, projects, and recruitment.
- Implement JWT signing and verification for secure admin access.
- Seed initial data for divisions, projects, events, gallery, and recruitment.
- Add image upload functionality to R2 storage with validation.
- Define TypeScript types for data models and environment variables.
- Create a conditional navbar component for admin routes.
- Develop a shared API client for frontend components to interact with the CMS.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant