Skip to content

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

Open
akshith312 wants to merge 4 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 4 commits intodevelopmentfrom
Akshith-create-supplier-orders-endpoints

Conversation

@akshith312
Copy link
Copy Markdown
Contributor

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.

@one-community one-community added the High Priority - Please Review First This is an important PR we'd like to get merged as soon as possible label Mar 28, 2026
@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
2 Security Hotspots
E Security Rating on New Code (required ≥ A)
B Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Copy link
Copy Markdown

@Anusha-Gali Anusha-Gali left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Akshith,

I have reviewed your PR locally and it works as per requirement.

Image Image Image Image Image Image Image Image Image Image Image

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

Labels

High Priority - Please Review First This is an important PR we'd like to get merged as soon as possible

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants