{"id":26926085,"url":"https://github.com/mlorentedev/mca-spring-api-rest","last_synced_at":"2025-10-04T04:57:13.002Z","repository":{"id":258104883,"uuid":"649822718","full_name":"mlorentedev/mca-spring-api-rest","owner":"mlorentedev","description":"Trunk based development assessment ","archived":false,"fork":false,"pushed_at":"2024-10-19T01:13:37.000Z","size":123,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T03:34:27.022Z","etag":null,"topics":["canary-release","istio","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/mlorentedev.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":"2023-06-05T18:03:06.000Z","updated_at":"2025-03-23T02:16:50.000Z","dependencies_parsed_at":"2024-11-01T02:35:52.825Z","dependency_job_id":null,"html_url":"https://github.com/mlorentedev/mca-spring-api-rest","commit_stats":null,"previous_names":["noli-dev/mca-trunk-based-development","mlorentedev/mca-spring-api-books","mlorentedev/mca-spring-api-rest"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mlorentedev/mca-spring-api-rest","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlorentedev%2Fmca-spring-api-rest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlorentedev%2Fmca-spring-api-rest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlorentedev%2Fmca-spring-api-rest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlorentedev%2Fmca-spring-api-rest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mlorentedev","download_url":"https://codeload.github.com/mlorentedev/mca-spring-api-rest/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlorentedev%2Fmca-spring-api-rest/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278266895,"owners_count":25958733,"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","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"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":["canary-release","istio","spring"],"created_at":"2025-04-02T03:30:18.628Z","updated_at":"2025-10-04T04:57:12.997Z","avatar_url":"https://github.com/mlorentedev.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# API book store\n\nThis project is a demonstration of trunk-based development practices using a library management system. The application allows users to manage books in a library, leveraging a Spring Boot backend and Thymeleaf for the frontend.\n\n## Tech Stack\n\n| **Technology**          | **Description**                            |\n|-------------------------|--------------------------------------------|\n| Backend Framework        | Spring Boot 3.3.4                          |\n| Programming Language     | Java 17                                    |\n| Database                 | H2 (in-memory)                             |\n| Web Framework            | Thymeleaf                                  |\n| Security                 | Spring Security                            |\n| ORM                      | Spring Data JPA                            |\n| Dependency Management    | Maven                                      |\n| Project Management       | Lombok for reducing boilerplate code       |\n\n## Features\n\n- Manage books (add, update, delete)\n- Event-driven notifications for library updates\n- Unit and integration tests\n- Generate structured web pages using Thymeleaf templates\n\n## Running the Application\n\n### Prerequisites\n\n- Java\n- Maven\n\n### Running Locally\n\n1. Clone the repository\n\n2. Build the project:\n\n    ```bash\n    mvn clean install\n    ```\n\n3. Run the application:\n\n    ```bash\n    mvn spring-boot:run\n    ```\n\n4. Access the app:\n    - Open [http://localhost:8080](http://localhost:8080) to view the library system.\n\n### Running Tests\n\nTo run the unitary and end-to-end tests:\n    ```bash\n    mvn test\n    ```\n\n## Deployment strategies\n\n- **Canary deployment**: Deploy the new version of the application to a subset of users to test the new features and gather feedback before rolling out to the entire user base.\n\n- **Blue-green deployment**: Deploy the new version of the application alongside the existing version. Once the new version is tested and ready, switch the traffic to the new version.\n\n- **Parallel change deployment**: Deploy the new version of the application in parallel with the existing version. Gradually migrate users to the new version while monitoring the performance and stability of the application.\n\n## Change Log\n\n| **Version** | **Description** |\n|-------------|-----------------|\n| 0.0.1       | Initial release |\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmlorentedev%2Fmca-spring-api-rest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmlorentedev%2Fmca-spring-api-rest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmlorentedev%2Fmca-spring-api-rest/lists"}