{"id":48819330,"url":"https://github.com/vaadin/vaadin-rest-example","last_synced_at":"2026-04-14T14:01:54.557Z","repository":{"id":37099567,"uuid":"257534718","full_name":"vaadin/vaadin-rest-example","owner":"vaadin","description":"Example of using REST services in a Vaadin application","archived":false,"fork":false,"pushed_at":"2026-04-02T11:05:18.000Z","size":911,"stargazers_count":25,"open_issues_count":6,"forks_count":8,"subscribers_count":5,"default_branch":"v25","last_synced_at":"2026-04-03T01:20:38.054Z","etag":null,"topics":["example","rest","spring-boot","vaadin"],"latest_commit_sha":null,"homepage":"https://vaadin.com/start","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vaadin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-04-21T08:47:13.000Z","updated_at":"2026-03-25T11:00:31.000Z","dependencies_parsed_at":"2026-01-28T13:01:38.612Z","dependency_job_id":null,"html_url":"https://github.com/vaadin/vaadin-rest-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vaadin/vaadin-rest-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaadin%2Fvaadin-rest-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaadin%2Fvaadin-rest-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaadin%2Fvaadin-rest-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaadin%2Fvaadin-rest-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vaadin","download_url":"https://codeload.github.com/vaadin/vaadin-rest-example/tar.gz/refs/heads/v25","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vaadin%2Fvaadin-rest-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31799411,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T11:13:53.975Z","status":"ssl_error","status_checked_at":"2026-04-14T11:13:53.299Z","response_time":153,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["example","rest","spring-boot","vaadin"],"created_at":"2026-04-14T14:01:47.132Z","updated_at":"2026-04-14T14:01:54.536Z","avatar_url":"https://github.com/vaadin.png","language":"Java","readme":"# Example app for using REST services with Vaadin and Spring Boot\n\n![Screenshot](rest-example.png)\n\nThis example application demonstrates three ways of connecting your Vaadin and Spring Boot application to a REST backend. The examples are\n\n1) Using a DTO class to fetch and display all results from a REST API\n2) Using dynamic JSON to fetch and display all results from a REST API\n3) Calling REST services asynchronously\n4) Using a DTO class to lazily fetch and display data from REST on demand\n\nThe main class of this app is com.vaadin.example.rest.ui.MainView, where we create our three demos. The UI class uses DTOs and a Spring service located in the com.vaadin.example.rest.data package.\n\nThe backend.restprovider package is not part of the demo; it is an implementation of a 3rd party REST API so that we don't need to depend on an actual one. The classes provide a REST API running on localhost, with two API methods, 'count' and 'data'.\n\n\n## Running the Application\n\nImport the project to the IDE of your choosing as a Maven project.\n\nRun the application using `mvn spring-boot:run` or by running the `Application` class directly from your IDE.\n\nOpen http://localhost:8080/ in your browser.\n\nIf you want to run the application locally in the production mode, run `mvn spring-boot:run -Pproduction`.\n\n## More Information\n\n- [Vaadin documentation](https://vaadin.com/docs)\n- [Using Vaadin and Spring](https://vaadin.com/docs/v14/flow/spring/tutorial-spring-basic.html) article\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaadin%2Fvaadin-rest-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvaadin%2Fvaadin-rest-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvaadin%2Fvaadin-rest-example/lists"}