{"id":19972986,"url":"https://github.com/nkcoder/rest-api-in-java","last_synced_at":"2025-06-22T00:05:30.172Z","repository":{"id":193263594,"uuid":"688263584","full_name":"nkcoder/rest-api-in-java","owner":"nkcoder","description":"API (REST and GraphQL) in Java/SpringBoot","archived":false,"fork":false,"pushed_at":"2023-09-29T11:00:13.000Z","size":436,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-01T18:29:11.229Z","etag":null,"topics":["docker-compose","java","jwt","postgresql","spring-boot"],"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/nkcoder.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":"2023-09-07T01:53:27.000Z","updated_at":"2023-10-01T22:03:04.000Z","dependencies_parsed_at":"2025-01-12T09:28:16.182Z","dependency_job_id":null,"html_url":"https://github.com/nkcoder/rest-api-in-java","commit_stats":null,"previous_names":["nkcoder/merchant-api","nkcoder/online-shop-api","nkcoder/rest-api-in-java"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nkcoder/rest-api-in-java","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nkcoder%2Frest-api-in-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nkcoder%2Frest-api-in-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nkcoder%2Frest-api-in-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nkcoder%2Frest-api-in-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nkcoder","download_url":"https://codeload.github.com/nkcoder/rest-api-in-java/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nkcoder%2Frest-api-in-java/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261212483,"owners_count":23125583,"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":["docker-compose","java","jwt","postgresql","spring-boot"],"created_at":"2024-11-13T03:09:57.368Z","updated_at":"2025-06-22T00:05:25.099Z","avatar_url":"https://github.com/nkcoder.png","language":"Java","readme":"\n## Restful API in Java/SpringBoot\n\n## OpenAPI document\n\n- [OpenAPI doc](http://localhost:8080/v3/api-docs)\n\n- [Swagger UI](http://localhost:8080/swagger-ui/index.html)\n  - ![API](./swagger-ui.png)\n  - missing `/auth/login` in Swagger: login to get JWT token\n\n## GraphQL API\n\n- [GraphQL Endpoint](http://localhost:8080/graphiql)\n- [GraphQL queries](./graphql-queries.md)\n\n## How to run\n\nRun all the tests\n```bash\nauto/test\n```\n\nRun a specific test:\n```bash\n./gradlew test --test my.playground.user.UserControllerTest\n```\n\nRun the application locally:\n```bash\nauto/dev\n```\n\n### Tech Stack\n\n- [x] Java 17\n- [x] SpringBoot 3 (Spring 6)\n- [x] PostgreSQL\n- [x] Spring Security\n- [x] Flyway\n- [x] JWT\n- [x] Dockerise\n- [x] OpenAPI 3\n- [x] TestContainers for integration tests\n- [x] GraphQL API\n\n### TODO\n\n- [ ] introduce VAVR and refactor in a functional programming way\n- [ ] encrypt the database secret\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnkcoder%2Frest-api-in-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnkcoder%2Frest-api-in-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnkcoder%2Frest-api-in-java/lists"}