Open jealapera opened 7 months ago
@jealapera @iamcubs Created a PR for you to review, https://github.com/jealapera/todo-app-api/pull/8
@cabibil09
Every end point should have a standard API Response or Result in (Postman for example).
For Success Response/s { "error": false, "code": 200, "message": "User registered successfully.", "data": "token (this should be long text with alphanumeric)" }
For Error Response/s { "error": true, "code": 400, "message": "Email already registered." }
Standardize the API response format for all existing API endpoints within the project, ensuring uniformity and ease of consumption across the entire API.