Base URL

<http://localhost:5000/api>

Authentication

1. Register a New User

POST /auth/register

Description: Registers a new user and sends a verification email.

Request Body:

{
  "name": "John Doe",
  "email": "[email protected]",
  "password": "password123"
}

Response:

{
  "message": "User registered. Please verify your email."
}

Errors:


2. Verify Email

GET /auth/verify/:token

Description: Verifies the user's email address.

Parameters: