To register a new user, use the following curl
command:
curl -X POST http://localhost:3000/register \
-H "Content-Type: application/json" \
-d '{"name": "John Doe", "email": "john.doe@example.com", "password": "123456"}'
curl http://localhost:3000/users