{"id":21901582,"url":"https://github.com/amadr-95/swagger-account-api","last_synced_at":"2026-05-08T15:04:51.619Z","repository":{"id":161453638,"uuid":"635770094","full_name":"amadr-95/swagger-account-api","owner":"amadr-95","description":"API with Swagger Documentation designed to manage user accounts","archived":false,"fork":false,"pushed_at":"2024-05-03T09:23:58.000Z","size":193,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-30T00:03:13.911Z","etag":null,"topics":["api-rest","java","postgresql","spring-boot","swagger"],"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/amadr-95.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,"zenodo":null}},"created_at":"2023-05-03T12:22:01.000Z","updated_at":"2024-06-26T21:27:56.000Z","dependencies_parsed_at":"2025-06-11T13:45:19.488Z","dependency_job_id":"86c4cbb3-9eb7-4c93-bc53-052ed978da8a","html_url":"https://github.com/amadr-95/swagger-account-api","commit_stats":null,"previous_names":["amadr-95/spring-jpa-postgres-swagger"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/amadr-95/swagger-account-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amadr-95%2Fswagger-account-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amadr-95%2Fswagger-account-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amadr-95%2Fswagger-account-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amadr-95%2Fswagger-account-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amadr-95","download_url":"https://codeload.github.com/amadr-95/swagger-account-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amadr-95%2Fswagger-account-api/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268378811,"owners_count":24240896,"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","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["api-rest","java","postgresql","spring-boot","swagger"],"created_at":"2024-11-28T15:14:22.413Z","updated_at":"2026-05-08T15:04:46.571Z","avatar_url":"https://github.com/amadr-95.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spring Boot REST CRUD API with Swagger Documentation\n\nThis example demonstrates how to build a Spring Boot REST CRUD API using Maven, leveraging Spring Data JPA/Hibernate to\ninteract with a PostgreSQL database. Additionally, the API endpoints are documented using Swagger 3 annotations.\n\n## Overview\n\nWe'll be developing a REST CRUD API for an Account management application. Each Account in the system consists of the\nfollowing attributes: _userId, name, username, password, email, and createdOn date_\n\nThe API provides the following functionalities:\n\n- CRUD operations for managing accounts.\n- Custom finder methods such as searching by name or email domain\n\n## API Endpoints\n\nThe API exposes the following endpoints\n\n| Method | URL                               | Description                                              |\n|--------|-----------------------------------|----------------------------------------------------------|\n| GET    | /api/accounts[/:name]             | Retrieve all accounts, optionally filtered by name.      |\n| GET    | /api/accounts/filter/:id          | Retrieve an account by ID.                               |\n| GET    | /api/accounts/filter/:username    | Retrieve an account by username.                         |\n| GET    | /api/accounts/filter/:email       | Retrieve an account by email.                            |\n| GET    | /api/accounts/filter/:domain      | Retrieve accounts matching the provided email domain.    |\n| POST   | /api/accounts                     | Add a new account.                                       |\n| PUT    | /api/accounts/update/username/:id | Update the username of an account with the specified ID. |\n| PUT    | /api/accounts/update/email/:id    | Update the email of an account with the specified ID.    |\n| DELETE | /api/accounts/delete/:id          | Delete an account by ID.                                 |\n| DELETE | /api/accounts/delete              | Delete all accounts.                                     |\n\n## Swagger UI\n\nYou can explore and interact with these endpoints using Swagger UI, accessible\nat: http://localhost:8080/accounts-management\n\n![swagger](https://github.com/amadr-95/spring-jpa-postgres-swagger/assets/122611230/92bd5c25-0511-4751-bed8-5269f6d44e31)\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famadr-95%2Fswagger-account-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famadr-95%2Fswagger-account-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famadr-95%2Fswagger-account-api/lists"}