Skip to content

Latest commit

 

History

History
58 lines (46 loc) · 2.4 KB

File metadata and controls

58 lines (46 loc) · 2.4 KB

Togakade POS System

Overview

Togakade POS System is a web-based Point of Sale (POS) application developed to handle basic operations such as adding, searching, updating, and deleting records. The frontend is built using HTML, CSS, JavaScript, and jQuery, while the backend is powered by the Spring Framework.

Features

Customer Management:

  • Add new customers
  • Search existing customers
  • Update customer information
  • Delete customers

Item Management:

  • Add new items to inventory
  • Search existing items
  • Update item information
  • Delete items from inventory

Order Management:

  • Create new orders
  • Retrieve and view existing orders

Technologies Used

  • Frontend: HTML, CSS, JavaScript, jQuery
  • Backend: Java EE, Tomcat
  • API Documentation: Postman Documentation

Controllers and Endpoints

Customer Controller

  • Add Customer: POST /customer - Adds a new customer.
  • Search Customer: GET /customer/{id} - Retrieves customer details by ID.
  • Update Customer: PUT /customer - Updates the details of an existing customer.
  • Delete Customer: DELETE /customer/{id} - Deletes a customer by ID.
  • Get Customers: GET /customer/getAll - Retrieves a list of all customers.

Item Controller

  • Add Item: POST /item - Adds a new item to the inventory.
  • Search Item: GET /item/{id} - Retrieves item details by ID.
  • Update Item: PUT /item - Updates the details of an existing item.
  • Delete Item: DELETE /item/{id} - Deletes an item by ID.
  • Get Items: GET /item/getAll - Retrieves a list of all items.

Order Controller

  • Add Order: POST /order - Creates a new order.
  • Get Orders: GET /order - Retrieves a list of all orders.

Getting Started

  1. Prerequisites: Ensure you have a Java EE environment set up with Tomcat installed.
  2. Clone the Repository: git clone https://github.com/amliyanage/Spring-POS-System.git
  3. Setup Database: Configure your database settings in application.properties.
  4. Build and Run: Deploy the WAR file to Tomcat and access the application.

API Documentation

Refer to the Postman Documentation for detailed API endpoints and usage instructions.

License

This project is licensed under the MIT License.