<http://localhost:5000/api>
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:
GET /auth/verify/:token
Description: Verifies the user's email address.
Parameters:
token
- The email verification token sent to the user's email.