{"id":20154142,"url":"https://github.com/math-ferreira/state-machine-spring","last_synced_at":"2026-04-12T17:06:15.993Z","repository":{"id":218351171,"uuid":"746194988","full_name":"math-ferreira/state-machine-spring","owner":"math-ferreira","description":"Project to study how to implement a state machine using Spring Framework. Spring provide a library to help to build state machines","archived":false,"fork":false,"pushed_at":"2024-01-21T12:42:17.000Z","size":114,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-13T12:28:10.627Z","etag":null,"topics":["java","maven","spring","spring-boot","spring-state-machine","state-machine"],"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/math-ferreira.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-01-21T11:04:14.000Z","updated_at":"2024-01-21T11:16:07.000Z","dependencies_parsed_at":"2024-01-21T12:44:09.019Z","dependency_job_id":null,"html_url":"https://github.com/math-ferreira/state-machine-spring","commit_stats":null,"previous_names":["math-ferreira/state-machine-spring"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/math-ferreira%2Fstate-machine-spring","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/math-ferreira%2Fstate-machine-spring/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/math-ferreira%2Fstate-machine-spring/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/math-ferreira%2Fstate-machine-spring/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/math-ferreira","download_url":"https://codeload.github.com/math-ferreira/state-machine-spring/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241593277,"owners_count":19987528,"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":["java","maven","spring","spring-boot","spring-state-machine","state-machine"],"created_at":"2024-11-13T23:25:06.416Z","updated_at":"2026-04-12T17:06:15.956Z","avatar_url":"https://github.com/math-ferreira.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spring - State Machine\n\n## Overview\n\nThis repository serves as a learning resource for understanding and implementing Spring State Machine within a Spring Boot application. The primary goal is to provide a practical guide on leveraging the Spring State Machine library to build stateful applications and integrate them seamlessly into Spring Boot projects and APIs.\n\n## Repository Structure\n\nThe repository is organized as follows:\n\n- **src/main/java/com/statemachine:** Contains the main Java source code for the Spring Boot application.\n    - **config:** Configuration classes for Spring State Machine.\n    - **controller:** API controllers for handling state transitions.\n    - **service:** Service classes implementing business logic.\n\n- **src/main/resources:** Configuration files and resources for the application.\n    - **application.properties:** Spring Boot configuration file.\n    - **state-machine-config.yaml:** Configuration file for defining state machine transitions.\n\n## Getting Started\n\nTo get started with this project, follow these steps:\n\n1. Clone the repository:\n\n```bash\ngit clone https://github.com/math-ferreira/state-machine-spring.git\n```\n\n2. Open the project in your preferred IDE.\n\n3. Build and run the application using Maven:\n\n```bash\n./mvnw spring-boot:run\n```\n\n4. Access the API documentation at [http://localhost:8080/swagger-ui.html](http://localhost:8080/swagger-ui.html) to explore and interact with the state machine API.\n\n## API Endpoints\n\nThe application exposes RESTful API endpoints for interacting with the state machine. Explore the Swagger UI documentation for a detailed overview of available endpoints and their functionalities.\n\n## Learn and Contribute\n\nFeel free to explore, experiment, and contribute to this repository. Use it as a reference for learning Spring State Machine and how to integrate it with Spring Boot applications. If you have insights, improvements, or additional features, create an issue or submit a pull request.\n\nFor more detailed information on Spring State Machine, refer to the official documentation: [https://docs.spring.io/spring-statemachine/docs/current/reference/html/](https://docs.spring.io/spring-statemachine/docs/current/reference/html/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmath-ferreira%2Fstate-machine-spring","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmath-ferreira%2Fstate-machine-spring","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmath-ferreira%2Fstate-machine-spring/lists"}