{"id":20208265,"url":"https://github.com/douglasdotv/account-service","last_synced_at":"2026-05-11T17:40:22.729Z","repository":{"id":272346370,"uuid":"880622822","full_name":"douglasdotv/account-service","owner":"douglasdotv","description":"API for accounting services with role-based access, security logging and account management, built with Spring Boot and Spring Security.","archived":false,"fork":false,"pushed_at":"2024-10-30T03:29:00.000Z","size":170,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-13T21:10:27.589Z","etag":null,"topics":["account-service","hyperskill","java","spring-boot","spring-data","spring-security"],"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/douglasdotv.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":"2024-10-30T03:28:52.000Z","updated_at":"2024-10-30T03:29:12.000Z","dependencies_parsed_at":"2025-01-13T21:10:29.511Z","dependency_job_id":"43ef2ff2-b351-45f9-9ac9-04b412877e8c","html_url":"https://github.com/douglasdotv/account-service","commit_stats":null,"previous_names":["douglasdotv/account-service"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/douglasdotv%2Faccount-service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/douglasdotv%2Faccount-service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/douglasdotv%2Faccount-service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/douglasdotv%2Faccount-service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/douglasdotv","download_url":"https://codeload.github.com/douglasdotv/account-service/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241644554,"owners_count":19996179,"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":["account-service","hyperskill","java","spring-boot","spring-data","spring-security"],"created_at":"2024-11-14T05:34:51.066Z","updated_at":"2026-05-11T17:40:22.277Z","avatar_url":"https://github.com/douglasdotv.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Account Service\n\n[![en](https://img.shields.io/badge/lang-en-red.svg)](https://github.com/douglasdotv/account-service/blob/master/README.md)\n[![pt-br](https://img.shields.io/badge/lang-pt--br-green.svg)](https://github.com/douglasdotv/account-service/blob/master/README.pt-br.md)\n\n## Introduction\n\nThis is a project focused on creating a secure accounting service. The service is designed as a REST API, integrating authentication, authorization and business logic related to accounting practices.\n\n## Features\n\n- Accounting functionalities via API\n- Role-based access control for administrators, accountants, auditors, and other employees\n- Security event tracking and logging for crucial activities\n- Account locking mechanism after five unsuccessful login attempts\n\n## Endpoints\n\n- POST /api/auth/signup: register a new user\n- POST /api/auth/changepass: change the password of an authenticated user.\n- POST /api/acct/payments: add a batch of payments\n- PUT /api/acct/payments: update a specific payment\n- GET /api/admin/user/: retrieve all app users\n- DELETE /api/admin/user/{userEmail}: delete user by e-mail\n- PUT /api/admin/user/role: grant/remove roles to users\n- PUT /api/admin/user/access: lock/unlock user access\n- GET /api/empl/payment: get a payment for an employee for a specific period (or get all payments if no period is specified)\n\n## Permissions\n\n|          Endpoint           | Anonymous | User | Accountant | Administrator | Auditor |\n| :-------------------------: | :-------: | :--: | :--------: | :-----------: | :-----: |\n|   `POST api/auth/signup`    |     +     |  +   |     +      |       +       |    +    |\n| `POST api/auth/changepass`  |           |  +   |     +      |       +       |    -    |\n|   `GET api/empl/payment`    |     -     |  +   |     +      |       -       |    -    |\n|  `POST api/acct/payments`   |     -     |  -   |     +      |       -       |    -    |\n|   `PUT api/acct/payments`   |     -     |  -   |     +      |       -       |    -    |\n|    `GET api/admin/user`     |     -     |  -   |     -      |       +       |    -    |\n|   `DELETE api/admin/user`   |     -     |  -   |     -      |       +       |    -    |\n|  `PUT api/admin/user/role`  |     -     |  -   |     -      |       +       |    -    |\n| `PUT api/admin/user/access` |     -     |  -   |     -      |       +       |    -    |\n|  `GET api/security/events`  |     -     |  -   |     -      |       -       |    +    |\n\n## Tools Used\n\n- Java\n- Spring Boot\n- Spring Security\n- Spring Data JPA\n- H2\n- Lombok\n- MapStruct\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdouglasdotv%2Faccount-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdouglasdotv%2Faccount-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdouglasdotv%2Faccount-service/lists"}