📋 Flow Preview
🔑 Test Credentials
👥 Users
🔗 Endpoints
⚙️ Configuration

Authentication Flow Preview

1. User Registration

POST /auth/register - Create new user account

2. User Login

POST /auth/login - Authenticate user credentials

3. MFA Setup (Optional)

POST /auth/mfa/setup - Configure multi-factor authentication

4. Token Refresh

POST /auth/refresh - Refresh JWT tokens

5. Protected Routes

GET /users, POST /users - Access protected resources

Test Credentials & Quick Commands

🔑 Test Credentials (Ready to Use):

Admin Account:
Email: admin@example.com
Password: admin123
Standard User:
Email: user@example.com
Password: user123

🚀 Quick Test Commands:

# Login as admin
curl -X POST http://localhost:3002/auth/login \
  -H "Content-Type: application/json" \
  -d '{"email":"admin@example.com","password":"admin123"}'
# Health check
curl http://localhost:3002/health
# Get users (with token)
curl http://localhost:3002/users -H "Authorization: Bearer YOUR_TOKEN"

User Management

⚠️ Warning: Deleting users here will permanently remove them from the backend/dashboard. This action cannot be undone.

No users found. Add users using the form above or load from backend.

Mock API Endpoints

GET /api/posts
GET /api/users

Generated Configuration

Click "Generate Configuration" to see the output