AllMart Grocery Store API


Welcome to the AllMart Grocery Store API! This API allows you to fetch, filter, and interact with grocery product data. Below are the available endpoints and examples of how to use them.

View GitHub Repo

Endpoints

Query Parameters

Example API Call

Screenshot of an API call

This example fetches all products in the "fruit" category.

Response Example

Screenshot of response from API

This is an example of the JSON response you can expect from the API when fetching products.

Testing the API

You can test the API using tools like Postman, or by running the following script with Node.js:

Screenshot of testing the API

This is an example of how to test the API using Node.js and Axios.

Notes