{"id":25585472,"url":"https://github.com/kavindusenesh/pos-system-spring-web-mvc","last_synced_at":"2026-07-04T22:31:25.556Z","repository":{"id":258507352,"uuid":"869523011","full_name":"KavinduSenesh/POS-System-Spring-Web-MVC","owner":"KavinduSenesh","description":"A Point of Sale system built with Spring MVC, featuring product, customer, and order management with a structured MVC architecture. ","archived":false,"fork":false,"pushed_at":"2024-10-17T14:02:44.000Z","size":219,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-27T08:41:36.396Z","etag":null,"topics":["java","pos-system","spring-mvc-framework"],"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/KavinduSenesh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-08T12:45:53.000Z","updated_at":"2025-03-18T09:32:20.000Z","dependencies_parsed_at":"2024-10-21T12:50:52.045Z","dependency_job_id":null,"html_url":"https://github.com/KavinduSenesh/POS-System-Spring-Web-MVC","commit_stats":null,"previous_names":["kavinduseneshsathsara/pos-system-spring-web-mvc","kavindusenesh/pos-system-spring-web-mvc"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/KavinduSenesh/POS-System-Spring-Web-MVC","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KavinduSenesh%2FPOS-System-Spring-Web-MVC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KavinduSenesh%2FPOS-System-Spring-Web-MVC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KavinduSenesh%2FPOS-System-Spring-Web-MVC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KavinduSenesh%2FPOS-System-Spring-Web-MVC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KavinduSenesh","download_url":"https://codeload.github.com/KavinduSenesh/POS-System-Spring-Web-MVC/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KavinduSenesh%2FPOS-System-Spring-Web-MVC/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35138074,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-04T02:00:05.987Z","response_time":113,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["java","pos-system","spring-mvc-framework"],"created_at":"2025-02-21T07:17:18.061Z","updated_at":"2026-07-04T22:31:25.528Z","avatar_url":"https://github.com/KavinduSenesh.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# POS Backend\n\n## Overview\n\nThe POS Backend project is a Spring Boot application designed to manage point-of-sale transactions. It provides functionalities for managing orders, customers, and items in a retail environment. The application exposes RESTful APIs to interact with the data, allowing for easy integration with front-end applications or other services.\n\n## Features\n\n- **Order Management**: Create, read, update, and delete orders.\n- **Customer Management**: Handle customer data and relationships.\n- **Item Management**: Manage inventory and item details.\n- **Logging**: Detailed logging for tracking operations and errors.\n\n## Technologies Used\n\n- **Java**: Primary programming language.\n- **Spring Boot**: Framework for building the RESTful API.\n- **Hibernate/JPA**: ORM for database interactions.\n- **MySQL**: Database for storing data.\n- **Lombok**: Reduces boilerplate code with annotations.\n- **Postman**: For testing the APIs.\n\n## Getting Started\n\n### Prerequisites\n\n- Java JDK 17 or higher\n- Maven 3.6 or higher\n- MySQL server\n- Postman or similar tool for API testing\n\n### Installation\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/KavinduSeneshSathsara/POS-System-Spring-Web-MVC.git\n   cd POS-System-Spring-Web-MVC\n   ```\n2. Build the project using Maven:\n   ```bash\n   mvn clean install\n   ```\n\n3. Run the application:\n   ```bash\n   mvn spring-boot:run\n   ```\n\n4. Access the API documentation via Postman or your browser at:\n   ```\n   http://localhost:8080/POS_Backend/api/v1/orders\n   ```\n\n## API Endpoints\n\n### Orders\n\n- **Create Order**\n  - **Endpoint**: `POST /api/v1/orders`\n  - **Request Body**:\n    ```json\n    {\n     \"customerId\":\"C0001\",\n     \"orderDetails\":[\n\t\t\t{\n\t\t\t\t\"itemCode\":\"I0003\",\n\t\t\t\t\"qty\":50,\n\t\t\t\t\"unitPrice\":100\n            }\n     ]\n    }\n- **Get All Orders**\n  - **Endpoint**: `GET /api/v1/orders`\n\n- **Get Order by ID**\n  - **Endpoint**: `GET /api/v1/orders/{id}`\n\n- **Update Order**\n  - **Endpoint**: `PUT /api/v1/orders/{id}`\n  - **Request Body**: Same structure as Create Order.\n\n- **Delete Order**\n  - **Endpoint**: `DELETE /api/v1/orders/{id}`\n\nAPI Documentation\n\nFor detailed API documentation, please refer to the project’s Swagger UI and Postman collections.\n\nAPI documentation URL: https://documenter.getpostman.com/view/35384474/2sAXxV6VZX\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n\n© All rights reserved. This project is created and maintained by Kavindu Senesh.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkavindusenesh%2Fpos-system-spring-web-mvc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkavindusenesh%2Fpos-system-spring-web-mvc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkavindusenesh%2Fpos-system-spring-web-mvc/lists"}