{"id":24148997,"url":"https://github.com/mochrks/crud-springboot-api","last_synced_at":"2026-05-07T04:35:17.412Z","repository":{"id":263351098,"uuid":"880919004","full_name":"Mochrks/crud-springboot-api","owner":"Mochrks","description":"A RESTful API project implementing CRUD operations for order management using Spring Boot and PostgreSQL. Features include creating, reading, updating, and deleting order records through well-structured API endpoints, following REST principles and best practices.","archived":false,"fork":false,"pushed_at":"2024-12-02T02:36:54.000Z","size":26,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-12T08:36:01.514Z","etag":null,"topics":["postgresql","spring-boot"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Mochrks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-30T15:43:51.000Z","updated_at":"2024-12-07T08:27:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"3f60fb37-459c-4467-af64-753e424a17e0","html_url":"https://github.com/Mochrks/crud-springboot-api","commit_stats":null,"previous_names":["mochrks/crud-springboot-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mochrks%2Fcrud-springboot-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mochrks%2Fcrud-springboot-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mochrks%2Fcrud-springboot-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mochrks%2Fcrud-springboot-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mochrks","download_url":"https://codeload.github.com/Mochrks/crud-springboot-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241398020,"owners_count":19956651,"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":["postgresql","spring-boot"],"created_at":"2025-01-12T08:34:40.576Z","updated_at":"2025-10-10T07:17:18.964Z","avatar_url":"https://github.com/Mochrks.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\" style=\"font-family: 'Poppins', sans-serif; font-size: 2.5em; font-weight: bold;\"\u003eCRUD API Spring Boot - Order Management\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://skillicons.dev/icons?i=spring,java,postgres,maven\" alt=\"Tech Stack Icons\" /\u003e\n\u003c/p\u003e\n\n### Project Overview\n\nThis project is a RESTful API for Order Management built using **Spring Boot**, utilizing **Maven** for dependency management, **Lombok** for reducing boilerplate code, and **PostgreSQL** as the database. It provides comprehensive endpoints for managing orders, menus, carts, and vouchers.\n\n### Tech Stack \u0026 Dependencies\n![Spring Boot](https://img.shields.io/badge/Spring_Boot-6DB33F?style=flat-square\u0026logo=spring-boot\u0026logoColor=white)\n![Java](https://img.shields.io/badge/Java-007396?style=flat-square\u0026logo=java\u0026logoColor=white)\n![PostgreSQL](https://img.shields.io/badge/PostgreSQL-336791?style=flat-square\u0026logo=postgresql\u0026logoColor=white)\n![Maven](https://img.shields.io/badge/Maven-C71A36?style=flat-square\u0026logo=apache-maven\u0026logoColor=white)\n![Lombok](https://img.shields.io/badge/Lombok-red?style=flat-square)\n\n### Setup \u0026 Installation\n\n- **Clone the repository**\n    ```bash\n    git clone https://github.com/Mochrks/crud-springboot-api.git\n    cd crud-springboot-api\n    ```\n\n- **Configure Database**\n    - Update `application.properties` with your PostgreSQL credentials:\n    ```properties\n    spring.datasource.url=jdbc:postgresql://localhost:5432/your_database\n    spring.datasource.username=your_username\n    spring.datasource.password=your_password\n    ```\n\n- **Build the project**\n    ```bash\n    mvn clean install\n    ```\n\n- **Run the application**\n    ```bash\n    mvn spring-boot:run\n    ```\n\n### API Endpoints\n\n#### Menu Management\n- `GET /api/menu` - Get all menu items\n- `GET /api/menu/{id}` - Get menu item by ID\n- `POST /api/menu` - Create new menu item\n- `PUT /api/menu/{id}` - Update menu item\n- `DELETE /api/menu/{id}` - Delete menu item\n\n#### Cart Management\n- `GET /api/cart` - Get cart items\n- `POST /api/cart` - Add item to cart\n- `DELETE /api/cart` - Remove item from cart\n\n#### Voucher Management\n- `GET /api/voucher` - Get all vouchers\n- `POST /api/voucher` - Create new voucher\n- `PUT /api/voucher/{id}` - Update voucher\n- `DELETE /api/voucher/{id}` - Delete voucher\n\n  \n\n## Connect with me:\n[![GitHub](https://img.shields.io/badge/GitHub-333?style=for-the-badge\u0026logo=github\u0026logoColor=white)](https://github.com/mochrks)\n[![YouTube](https://img.shields.io/badge/YouTube-FF0000?style=for-the-badge\u0026logo=youtube\u0026logoColor=white)](https://youtube.com/@Gdvisuel)\n[![Instagram](https://img.shields.io/badge/Instagram-E4405F?style=for-the-badge\u0026logo=instagram\u0026logoColor=white)](https://instagram.com/mochrks)\n[![LinkedIn](https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge\u0026logo=linkedin\u0026logoColor=white)](https://linkedin.com/in/mochrks)\n[![Behance](https://img.shields.io/badge/Behance-1769FF?style=for-the-badge\u0026logo=behance\u0026logoColor=white)](https://behance.net/mochrks)\n[![Dribbble](https://img.shields.io/badge/Dribbble-EA4C89?style=for-the-badge\u0026logo=dribbble\u0026logoColor=white)](https://dribbble.com/mochrks)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmochrks%2Fcrud-springboot-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmochrks%2Fcrud-springboot-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmochrks%2Fcrud-springboot-api/lists"}