{"id":26401381,"url":"https://github.com/maygo/playgrounds","last_synced_at":"2025-03-17T14:51:27.097Z","repository":{"id":228439527,"uuid":"773023691","full_name":"MayGo/playgrounds","owner":"MayGo","description":null,"archived":false,"fork":false,"pushed_at":"2024-03-18T18:25:27.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-05-01T22:07:34.578Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/MayGo.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}},"created_at":"2024-03-16T14:32:22.000Z","updated_at":"2024-03-18T18:28:35.000Z","dependencies_parsed_at":"2024-03-18T21:13:31.377Z","dependency_job_id":"b7abc82b-0360-4e7e-a943-0f861bee9668","html_url":"https://github.com/MayGo/playgrounds","commit_stats":null,"previous_names":["maygo/playgrounds"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MayGo%2Fplaygrounds","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MayGo%2Fplaygrounds/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MayGo%2Fplaygrounds/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MayGo%2Fplaygrounds/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MayGo","download_url":"https://codeload.github.com/MayGo/playgrounds/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244056342,"owners_count":20390719,"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":[],"created_at":"2025-03-17T14:51:26.476Z","updated_at":"2025-03-17T14:51:27.091Z","avatar_url":"https://github.com/MayGo.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Playground REST API\n\nThis is a Spring Boot application that provides a REST API for managing play sites and kids in a playground.\n\n## Functionality\n\nThe API provides the following functionality:\n\n- Creating and managing play sites in the playground. Play sites consist of attractions such as double swings, carousel, slide, and a ball pit. Different combinations of attractions can be added to create different play sites.\n- Adding kids to play sites. Each kid has a name, age, and ticket number. The API ensures that the maximum capacity of the play site is not exceeded.\n- Enqueuing kids in a queue when a play site is full. The API registers queues on play sites and allows kids to wait in the queue if they accept.\n- Removing kids from play sites or queues.\n- Providing play site utilization at the current moment, measured in percentage.\n- Providing the total visitor count during the current day on all play sites. Resets at midnight.\n\nWhat is not in the scope:\n\n- Authentication and authorization\n- Pagination\n- Persistence of data\n- Error handling\n- Logging\n- Health Checks, Monitoring and metrics\n- Caching\n- Rate limiting\n- API versioning\n- Internationalization\n- CORS\n\n## Usage\n\nTo run the application, make sure you have Java and Maven installed. Then, navigate to the project directory and run the following command:\n\n```\nmvn spring-boot:run\n```\n\nThe application will start running on [http://localhost:8080](http://localhost:8080).\n\n## Testing\n\nThe application has a suite of unit and integration tests. You can run the tests using the following command:\n\n```\nmvn test\n```\n\n## API Documentation\n\nAPI docs can be found at [http://localhost:8080/swagger-ui/index.html](http://localhost:8080/swagger-ui/index.html)\nIt provides detailed information about the available endpoints and their usage.\nAPI docs json can be found at [http://localhost:8080/v3/api-docs](http://localhost:8080/v3/api-docs)\n\n## Configuration\n\nThe application can be configured by modifying the `application.properties` file in the `resources` directory. You can change settings such as the server port and database configuration.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaygo%2Fplaygrounds","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaygo%2Fplaygrounds","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaygo%2Fplaygrounds/lists"}