https://github.com/jlokitha/pos-system-backend
POS System backend for managing customer, item, and order data.
https://github.com/jlokitha/pos-system-backend
api inventory-management pos-system tomcat tomcat-server
Last synced: 11 months ago
JSON representation
POS System backend for managing customer, item, and order data.
- Host: GitHub
- URL: https://github.com/jlokitha/pos-system-backend
- Owner: jlokitha
- License: mit
- Created: 2024-08-01T09:01:09.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-09T17:10:22.000Z (almost 2 years ago)
- Last Synced: 2025-04-09T13:04:25.348Z (about 1 year ago)
- Topics: api, inventory-management, pos-system, tomcat, tomcat-server
- Language: Java
- Homepage:
- Size: 121 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# POS System Backend
## Overview
A backend service for a Point of Sale (POS) system designed to manage customer and item data efficiently. This service facilitates the creation, retrieval, updating, and deletion of records, and provides capabilities for saving and retrieving order information.
## Technologies Used
The following technologies were used in the development of the Backend Server:
- **JakarthaEE**
- **MySQL**
- **Maven**
- **Tomcat**
- **JNDI**
## API endpoints
- **Customer Management:**
- Create new customer records.
- Read and retrieve customer details.
- Update existing customer information.
- Delete customer records as needed.
- **Item Management:**
- Add new items to the inventory.
- Retrieve item details and stock levels.
- Update item information and pricing.
- Remove items from the inventory.
- **Order Handling:**
- Save new orders with customer and item details.
- Retrieve order history and status.
## Benefits
- **Efficient Management:** Streamlines customer and item management with CRUD operations, improving operational efficiency.
- **Robust Order Handling:** Facilitates accurate and reliable order processing, enhancing sales and inventory tracking.
- **Reliable Data Storage:** Uses Java and JDBC for stable data management and persistence.
- **Scalable Architecture:** Built on Java and Tomcat, allowing for easy scaling as business needs grow.
## Installation
To install and run the System, follow these steps:
1. Clone the repository:
```bash
git clone https://github.com/jlokitha/POS-System-Backend.git
2. Navigate to the project directory:
```bash
cd POS-System-Backend
3. Open the project in IntelliJ IDEA:
```bash
idea .
## Setup and Configuration
- **Configure Tomcat:**
- Go to `Run` > `Edit Configurations`.
- Click the `+` button and select `Tomcat Server` > `Local`.
- Set the Tomcat Home directory to your [Tomcat](https://tomcat.apache.org/download-90.cgi) installation path.
- Apply and save the configuration.
- **Update Database Credentials:**
- Open the `src/main/webapp/META-INF/context.xml` file.
- Update the MySQL username and password:
```bash
- **Run Tomcat:**
- In IntelliJ IDEA, select the Tomcat configuration you created.
- Click the `Run` button (green play icon) to start Tomcat.
- The application should be deployed and accessible from your browser.
## Front-End Project
For the front-end of the POS system, visit the [POS System Front-End Repository](https://github.com/jlokitha/POS-System-Frontend.git).
## API Documentation
You can find the API documentation for this project at [API Documentation](https://documenter.getpostman.com/view/35384124/2sA3s1psRe).
## License
This project is licensed under the MIT License - see the [MIT License](LICENSE) file for details.
##
© 2024 Janindu Lokitha