Giter Site home page Giter Site logo

grocery's Introduction

Grocery Rest

The Grocery rest service can provide various information related to grocery management, such as:

  1. Customers: Information about the customers who have registered for the grocery service, such as name, address, email, phone number, etc.

  2. Orders: Information about the orders placed by the customers, such as the order ID, the products ordered, the quantity, the total price, delivery information, etc.

  3. Products: Information about the products that are available for purchase, such as the product name, description, price, category, etc.

  4. Categories: Information about the different categories of products available, such as vegetables, fruits, bakery items, dairy products, etc.

The Grocery rest service allows users to interact with this information through a set of API endpoints. The users can retrieve, add, update, or delete the information using these endpoints, based on their roles and permissions. The service also provides documentation through Swagger page, which makes it easier for users to understand and use the available endpoints.

Getting Started

To run the project, follow the steps below:

Prerequisites

  • Java 8 or above
  • Maven

Installing

  1. Clone the repository to your local machine:
git clone https://github.com/Aishash3/Grocery.git
  1. Navigate to the project directory:
cd Grocery
  1. Build the project using Maven:
mvn clean install

Running the Application

  1. Run the application:
mvn spring-boot:run
  1. Open your browser and go to the Swagger page, which shows all endpoints of the service:
http://localhost:8080/swagger-ui.html
  1. Explore the available endpoints and test them using Swagger.

Built With

  • Spring Boot
  • H2 Embedded Database
  • Swagger

API Endpoints

Customer

  • GET /customers - Get all customers
  • GET /customers/{customerId} - Get a customer by ID
  • POST /customers - Create a new customer
  • PUT /customers/{customerId} - Update a customer by ID
  • DELETE /customers/{customerId} - Delete a customer by ID

Product

  • GET /products - Get all products
  • GET /products/{productId} - Get a product by ID
  • POST /products - Create a new product
  • PUT /products/{productId} - Update a product by ID
  • DELETE /products/{productId} - Delete a product by ID

Order

  • GET /orders - Get all orders
  • GET /orders/{orderId} - Get an order by ID
  • POST /orders - Create a new order
  • PUT /orders/{orderId} - Update an order by ID
  • DELETE /orders/{orderId} - Delete an order by ID

Category

  • GET /categories - Get all categories
  • GET /categories/{categoryId} - Get a category by ID
  • POST /categories - Create a new category
  • PUT /categories/{categoryId} - Update a category by ID
  • DELETE /categories/{categoryId} - Delete a category by ID

Authors

  • Kazbek Moldir
  • Shakhali Aisha
  • Darzhanov Nurlan

Jenkins credentials for developer

login: developer password: developer

grocery's People

Contributors

moldirkazbekk avatar fieryarcher avatar aishashlyk avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.