Description: Secure the admin panel endpoints with JWT-based authentication.
• Tasks:
• Create Admin model with Username and PasswordHash.
• Set up login endpoint to generate JWT for authenticated admin users.
• Protect admin endpoints to allow only authenticated access.
Description: Secure the admin panel endpoints with JWT-based authentication. • Tasks: • Create Admin model with Username and PasswordHash. • Set up login endpoint to generate JWT for authenticated admin users. • Protect admin endpoints to allow only authenticated access.