{"id":20900483,"url":"https://github.com/hellokoding/restfulapi-springboot-mockmvc-vuejs","last_synced_at":"2025-05-13T01:32:24.851Z","repository":{"id":121284820,"uuid":"126562921","full_name":"hellokoding/restfulapi-springboot-mockmvc-vuejs","owner":"hellokoding","description":"Restful API example with Spring Boot, Integration Test with MockMVC, UI Integration with VueJS","archived":false,"fork":false,"pushed_at":"2018-10-01T06:59:39.000Z","size":10,"stargazers_count":6,"open_issues_count":0,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-01T15:10:03.065Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://hellokoding.com/restful-apis-example-with-spring-boot-integration-test-with-mockmvc-ui-integration-with-vuejs/","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/hellokoding.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":"2018-03-24T03:37:50.000Z","updated_at":"2020-09-30T10:35:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"18ac3293-6717-4d02-825d-f1c7fb12efd9","html_url":"https://github.com/hellokoding/restfulapi-springboot-mockmvc-vuejs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellokoding%2Frestfulapi-springboot-mockmvc-vuejs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellokoding%2Frestfulapi-springboot-mockmvc-vuejs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellokoding%2Frestfulapi-springboot-mockmvc-vuejs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellokoding%2Frestfulapi-springboot-mockmvc-vuejs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hellokoding","download_url":"https://codeload.github.com/hellokoding/restfulapi-springboot-mockmvc-vuejs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253854077,"owners_count":21974221,"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":"2024-11-18T11:19:57.336Z","updated_at":"2025-05-13T01:32:24.839Z","avatar_url":"https://github.com/hellokoding.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Restful API example with Spring Boot, Integration Test with MockMVC, UI Integration with VueJS\n\n### Guide\nhttps://hellokoding.com/restful-apis-example-with-spring-boot-integration-test-with-mockmvc-ui-integration-with-vuejs/\n\n### Stack\n- Spring Boot\n- Java 8\n- Maven 3\n- Integration test\n- VueJS\n\n### Tools you need\n- Java 8\n- Maven 3\n\n### Build and run\n`mvn clean spring-boot:run`\n\n### Run the tests only\n`mvn clean verify`\n\n### Test the APIs\n- Get all stocks `curl http://localhost:8080/api/v1/stocks`\n- Get stock 1 `curl http://localhost:8080/api/v1/stocks/1`\n- Update price of stock 1 `curl -X PUT -d 'currentPrice=123' http://localhost:8080/api/v1/stocks/1`\n- Create a new stock `curl -H \"Content-Type: application/json\" -X POST -d '{\"name\":\"S11\",\"currentPrice\":\"11\"}' http://localhost:8080/api/v1/stocks`\n- Stock list front end: access to `http://localhost:8080`\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhellokoding%2Frestfulapi-springboot-mockmvc-vuejs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhellokoding%2Frestfulapi-springboot-mockmvc-vuejs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhellokoding%2Frestfulapi-springboot-mockmvc-vuejs/lists"}