{"id":24844377,"url":"https://github.com/nethmiumaya/spring-pos-backend","last_synced_at":"2026-05-17T01:37:14.121Z","repository":{"id":257855688,"uuid":"868742419","full_name":"nethmiumaya/Spring-pos-backend","owner":"nethmiumaya","description":"A comprehensive Spring backend API designed for seamless point-of-sale management.","archived":false,"fork":false,"pushed_at":"2024-10-15T17:09:39.000Z","size":87,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-31T09:18:03.113Z","etag":null,"topics":["logback","restful-api","spring"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nethmiumaya.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-07T05:25:01.000Z","updated_at":"2024-12-29T04:17:00.000Z","dependencies_parsed_at":"2024-10-16T18:54:26.749Z","dependency_job_id":"edf9c031-18d5-4252-be5e-83159c3d7c6f","html_url":"https://github.com/nethmiumaya/Spring-pos-backend","commit_stats":null,"previous_names":["nethmiumaya/spring-pos-backend"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nethmiumaya%2FSpring-pos-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nethmiumaya%2FSpring-pos-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nethmiumaya%2FSpring-pos-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nethmiumaya%2FSpring-pos-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nethmiumaya","download_url":"https://codeload.github.com/nethmiumaya/Spring-pos-backend/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245614990,"owners_count":20644376,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["logback","restful-api","spring"],"created_at":"2025-01-31T09:18:06.143Z","updated_at":"2026-05-17T01:37:09.100Z","avatar_url":"https://github.com/nethmiumaya.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spring POS Backend\n\n## Introduction\n\nA Point of Sale (POS) system is a combination of hardware and software used by businesses to process sales transactions, manage inventory, track customer data, and generate reports. It typically includes components like a cash register, barcode scanner, receipt printer, and a payment terminal, all integrated into a software platform that streamlines retail operations.\n\n### Technologies Used\n\n- **Backend:** Spring Boot, Hibernate, JPA\n- **Frontend:** HTML, CSS, JavaScript\n- **Database:** MySQL\n- **Database Connectivity:** JNDI\n\n## Installation\n\n### Prerequisites\n\n- Java 17 (OpenJDK 17)\n- Maven\n- MySQL\n- Apache Tomcat 10\n- Spring Data JPA\n- Lombok\n\n### Features\n\n- Sales Management: Quickly process transactions.\n- Inventory Tracking: Monitor stock and manage products.\n- Customer Management: Keep customer records and history.\n- Database Integration: Use MySQL for reliable data storage.\n- REST API with JSON responses.\n- Set Logging: Integrated logging for tracking events and debugging.\n- Exception handling and validation using Spring Validator.\n\nThis project demonstrates a cohesive integration of  backend technologies, along with robust database management, to create a functional and efficient POS system tailored for pos system.\n\n## API Documentation\n\nYou can find the detailed API documentation [API Documentation](https://documenter.getpostman.com/view/35386291/2sAXxTcAa3).\n\n## API Endpoints\n\nHere is a brief description of the available API endpoints:\n\n### Customer Endpoints\n\n- **POST /customer**: Add a new customer. Requires a JSON object with customer details. Returns the added customer object.\n- **GET /customer/{id}**: Retrieve a specific customer's details by ID. No parameters required. Returns the customer object.\n- **PUT /customer/{id}**: Update a customer by ID. Requires a JSON object with updated customer details. Returns the updated customer object.\n- **DELETE /customer/{id}**: Delete a customer by ID. No parameters required. Returns a success message.\n\n### Item Endpoints\n\n- **GET /item**: Fetch all items or a specific item by code. No parameters required. Returns a JSON array of item objects.\n- **POST /item**: Add a new item. Requires a JSON object with item details. Returns the added item object.\n- **PUT /item/{id}**: Update an item by ID. Requires a JSON object with updated item details. Returns the updated item object.\n- **DELETE /item/{id}**: Delete an item by ID. No parameters required. Returns a success message.\n\n### Order Endpoints\n\n- **GET /orders**: Retrieve all orders. Returns a JSON array of order objects.\n- **POST /orders**: Create a new order. Requires a JSON object with order details. Returns the created order object.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE.md) file for more details.\n\n\u003cp align=\"center\"\u003e\n  \u0026copy; 2024 Nethmi Umaya\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnethmiumaya%2Fspring-pos-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnethmiumaya%2Fspring-pos-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnethmiumaya%2Fspring-pos-backend/lists"}