Authentication - SamarAyadi/TaskyPingu GitHub Wiki
🔐 Authentication
Registration
POST /auth/register- Accepts
name,email,password, optionalprofileImageUrlandadminInviteToken.
Login
POST /auth/login- Requires valid credentials to issue a JWT token.
Profile
GET /auth/profilePUT /auth/profile- Protected by JWT – retrieves and updates user info.
Upload Image
POST /auth/upload-image- Accepts form-data (
image) and returns image URL.