🚀 Node.js Authentication API Tester

🔑 JWT Token (for protected routes)

Paste your JWT token here to test protected routes:

💡 Get a token by logging in first, then paste it here to test protected routes

GET / No Auth

API welcome page

GET /health No Auth

Server health check

GET /api No Auth

API information

POST /api/auth/register No Auth

Register new user

Important: This must be a POST request with JSON body. GET requests will show endpoint info.
💡 Enter your real credentials - phone number format: +1234567890

POST /api/auth/login No Auth

User login

Important: This must be a POST request with JSON body. GET requests will show endpoint info.

GET /api/auth/profile No Auth

Profile endpoint information

GET /api/auth/profile/data Requires Auth

Get user profile data (requires JWT token)

GET /api/auth/users No Auth

Users endpoint information

GET /api/auth/users/data Requires Auth

Get all users data (requires JWT token)

GET /api/admin/institutions Requires Auth

Get all institutions data (requires JWT token)