Auth API
Authentication and user management endpoints:
POST
/auth/register
Register a new user
POST
/auth/register/admin
Register a new user as admin
POST
/auth/login
Log in an existing user
POST
/auth/google-register
Register a new user with Google Authentication
POST
/auth/google-login
Log in an existing user with Google authentication
GET
/auth/me
Fetch authenticated user details
PUT
/rules/{id}
Update authenticated user details