Skip to content

This is a simple RESTful API for a Grocery Store built using Laravel. The API allows users to perform basic CRUD (Create, Read, Update, Delete) operations on grocery products.

Notifications You must be signed in to change notification settings

Adecom16/GroceryStore-API

Repository files navigation

Grocery Store API

This is a simple RESTful API for a Grocery Store built using Laravel. The API allows users to perform basic CRUD (Create, Read, Update, Delete) operations on grocery products.

Features

  • Retrieve a list of all grocery products
  • Retrieve details of a specific product
  • Add a new product to the store
  • Update an existing product
  • Delete a product from the store

Getting Started

Prerequisites

  • PHP 7.4 or higher
  • Composer
  • Laravel 8.x

Grocery Store API

Usage

You can interact with the API using tools like Postman or any other API testing tool. Here are the available endpoints:

  • GET /api/products: Retrieve all products
  • GET /api/products/{id}: Retrieve a specific product
  • POST /api/products: Add a new product
  • PUT /api/products/{id}: Update an existing product
  • DELETE /api/products/{id}: Delete a product

Make sure to replace {id} with the corresponding product ID.

License

This project is licensed under the MIT License - see the LICENSE file for details.

You can use this template as your project's README file, providing users with the necessary information to understand, install, and use your Grocery Store API. Adjust the instructions and details according to your project's specific requirements and implementation.

About

This is a simple RESTful API for a Grocery Store built using Laravel. The API allows users to perform basic CRUD (Create, Read, Update, Delete) operations on grocery products.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published