{"id":19375546,"url":"https://github.com/vladimirfomene/movie-api","last_synced_at":"2026-04-29T21:05:21.817Z","repository":{"id":150974323,"uuid":"156806316","full_name":"vladimirfomene/movie-api","owner":"vladimirfomene","description":"Secured Spring WebFlux API With Auth0","archived":false,"fork":false,"pushed_at":"2018-11-23T09:22:29.000Z","size":64,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-24T15:49:22.093Z","etag":null,"topics":["auth0","mongodb","spring","webflux"],"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/vladimirfomene.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-11-09T03:40:19.000Z","updated_at":"2018-11-23T09:22:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"3e3e665c-2ba9-4116-b6a1-b30ca207b239","html_url":"https://github.com/vladimirfomene/movie-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vladimirfomene/movie-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vladimirfomene%2Fmovie-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vladimirfomene%2Fmovie-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vladimirfomene%2Fmovie-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vladimirfomene%2Fmovie-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vladimirfomene","download_url":"https://codeload.github.com/vladimirfomene/movie-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vladimirfomene%2Fmovie-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32443596,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T20:22:27.477Z","status":"ssl_error","status_checked_at":"2026-04-29T20:22:26.507Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["auth0","mongodb","spring","webflux"],"created_at":"2024-11-10T08:39:27.278Z","updated_at":"2026-04-29T21:05:21.801Z","avatar_url":"https://github.com/vladimirfomene.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# REST API with Spring WebFlux\n\n## IDE and Tools\n\n* I used Intellij IDE to develop this sample application.\n* I created a skeleton of the project from [Spring Boot's bootstrap site](https://start.spring.io/)\n* Specified Gradle as my build system and selected Security, Reactive Web, Reactive MongoDB and Embedded MongoDB for my dependencies.\n\n\n## App Dependencies\n\n* This app depends on Spring's Security, Reactive Web, Reactive MongoDB, Embedded MongoDB, `spring-security-oauth2-jose`\nand `spring-security-oauth2-resource-server`.\n\n## App Components\n\n * Created a representation of the API on Auth0 and secured it using Auth0's Authorization server.\n * REST API implemented using the Spring WebFlux API and Annotated Controllers.\n \n \n ## Running the App\n Run the app from a terminal by issuing the following command:\n   \n```bash\n  ./gradlew bootRun\n```\n\n\n## Testing the application\n\nMake sure you have `Curl` or `Postman` installed to test the endpoints of the API.\n\n* To get all the movies from the API run the following command:\n\n```bash\ncurl -v -X GET http://localhost:8080/movies\n```\n\n* To get a particular movie from the API.\n\n```bash\ncurl -v -X GET http://localhost:8080/movies/{id}\n```\nwhere id corresponds to the `id` of anyone of the movie entries you got as result from the first request.\n\n* To update a particular movie from the API.\n\n```bash\ncurl -v -H \"Authorization: Bearer \u003cACCESS-TOKEN\u003e\" -H \"Content-Type: application/json\" -X PUT -d\n'{\n         \"id\": \"\u003cMovie-ID-HERE\u003e\",\n         \"name\": \"\u003cNEW-NAME\",\n         \"genre\": \"\u003cNEW-GENRE\u003e\",\n         \"releaseDate\": \"\u003cNEW-DATE\u003e\"\n     }' http://localhost:8080/movies/{id}\n\n```\nwhere id corresponds to the `id` of anyone of the movie entries you got as result from the first request.\n\n\n* To delete a particular movie from the API.\n\n```bash\ncurl -v -H \"Authorization: Bearer \u003cACCESS-TOKEN\u003e\" -X DELETE http://localhost:8080/movies/{id}\n\n```\nwhere id corresponds to the `id` of anyone of the movie entries you got as result from the first request.\n\n* Finally, to delete all the movies from the API.\n\n```bash\ncurl -v -H \"Authorization: Bearer \u003cACCESS-TOKEN\u003e\" -X DELETE http://localhost:8080/movies\n```\nwhere id corresponds to the `id` of anyone of the movie entries you got as result from the first request.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvladimirfomene%2Fmovie-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvladimirfomene%2Fmovie-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvladimirfomene%2Fmovie-api/lists"}