Skip to content

Akshith - Create Backend API endpoints to add and retrieve orders and suppliers.#2047

Open
akshith312 wants to merge 3 commits intodevelopmentfrom
Akshith-create-supplier-orders-endpoints
Open

Akshith - Create Backend API endpoints to add and retrieve orders and suppliers.#2047
akshith312 wants to merge 3 commits intodevelopmentfrom
Akshith-create-supplier-orders-endpoints

Conversation

@akshith312
Copy link

Description

image

Related PRS (if any):

This frontend PR is not related to any other PR.

Main changes explained:

  • Added GET, POST, PUT, DELETE requests
  • Added get suppliers, get suppliers By ID, Update supplier and delete supplier for the suppliers
  • Added get orders, get order by ID, update order, delete order for orders

How to test:

  1. check into current branch
  2. do npm install npm run build and npm start to run this PR locally
  3. Clear site data/cache
  4. login as admin user
  5. Pass the authorization token to all the endpoints being tested
  6. Call the endpoints using Postman
  7. Suppliers endpoints
  1. Orders endpoints

Screenshots or videos of changes:

GET All suppliers

Screen.Recording.2026-02-13.170941.mp4

GET Supplier by ID

Screen.Recording.2026-02-13.171131.mp4

CREATE New Supplier

Screen.Recording.2026-02-13.171416.mp4

UPDATE Supplier

Screen.Recording.2026-02-13.171557.mp4

DELETE Supplier

Screen.Recording.2026-02-13.171702.mp4

GET all Orders
image
GET Orders by ID
image
CREATE New Order
image
image

UPDATE Order

Screen.Recording.2026-02-13.172220.mp4

DELETE Order
image

Note:

Include the information the reviewers need to know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant