johnreylayague / point-of-sale-project

0 stars 0 forks source link

FEAT-5: As a developer, I need to define the specific API endpoints for the application. #6

Open johnreylayague opened 7 months ago

johnreylayague commented 7 months ago

Description:

This issue aims to define the specific API endpoints for the application to establish a clear and consistent interface for accessing and interacting with the application's data and functionality. It is important because well-defined API endpoints ensure that the application is structured and maintainable.

User Story:

As a developer, I need the API endpoints to be well-defined and easy to use. Therefore, defining specific API endpoints will help ensure that the application's data and functionality can be accessed and manipulated efficiently.

Acceptance Criteria:

Related Tasks:

Additional Information:

Consider versioning and error handling strategies when defining the API endpoints.

johnreylayague commented 6 months ago

Website

Sign Up http://localhost:5000/api/v1/auth/signup

Login http://localhost:5000/api/v1/auth/login

Reset Password http://localhost:5000/api/v1/auth/resetpassword

#

Dashboard

Menu http://localhost:5000/api/v1/menus

Reports http://localhost:5000/api/v1/sales

Items http://localhost:5000/api/v1/items http://localhost:5000/api/v1/categories

#

POS

Sales http://localhost:5000/api/v2/items http://localhost:5000/api/v2/categories http://localhost:5000/api/v2/sales