{"id":19439196,"url":"https://github.com/santosjennifer/swiftpay","last_synced_at":"2026-04-09T02:02:27.357Z","repository":{"id":239677798,"uuid":"800231565","full_name":"santosjennifer/SwiftPay","owner":"santosjennifer","description":"Serviço de pagamentos SwiftPay","archived":false,"fork":false,"pushed_at":"2024-06-15T18:20:19.000Z","size":59,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-04T11:22:21.146Z","etag":null,"topics":["docker-compose","dockerfile","java","kafka","maven","mysql","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/santosjennifer.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-05-14T00:18:05.000Z","updated_at":"2024-06-15T18:20:22.000Z","dependencies_parsed_at":"2025-01-07T21:34:54.892Z","dependency_job_id":"70f70cef-2226-451a-bca2-dfebf7d911ff","html_url":"https://github.com/santosjennifer/SwiftPay","commit_stats":null,"previous_names":["santosjennifer/payments","santosjennifer/swiftpay"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/santosjennifer/SwiftPay","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santosjennifer%2FSwiftPay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santosjennifer%2FSwiftPay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santosjennifer%2FSwiftPay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santosjennifer%2FSwiftPay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/santosjennifer","download_url":"https://codeload.github.com/santosjennifer/SwiftPay/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santosjennifer%2FSwiftPay/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31581864,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"online","status_checked_at":"2026-04-09T02:00:06.848Z","response_time":112,"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":["docker-compose","dockerfile","java","kafka","maven","mysql","spring-boot"],"created_at":"2024-11-10T15:21:49.914Z","updated_at":"2026-04-09T02:02:27.341Z","avatar_url":"https://github.com/santosjennifer.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Last Commit](https://img.shields.io/github/last-commit/santosjennifer/SwiftPay)\n[![Continuous Integration with Github](https://github.com/santosjennifer/SwiftPay/actions/workflows/ci-maven.yml/badge.svg)](https://github.com/santosjennifer/SwiftPay/actions/workflows/ci-maven.yml)\n\n# Serviço de Pagamentos SwiftPay\nO SwiftPay é uma plataforma de pagamentos que permite depositar e realizar transferências de dinheiro entre usuários.\n\n### Tecnologia:\n- Java 21\n- Maven\n- Spring Boot 3.2.5\n- Apache Kafka\n- MySQL\n- Docker\n\n### Como executar o projeto:\n\n1. Clone o repositório:\n```\ngit clone git@github.com:santosjennifer/SwiftPay.git\n```\n\n2. Na raiz do projeto, execute o comando:\n```\ndocker-compose up\n```\n\n3. Acesse o Swagger da aplicação:\n```\nhttp://localhost:8099/swagger-ui/index.html#/\n```\n\n### Swagger:\n![image](https://github.com/santosjennifer/SwiftPay/assets/90192611/675effe8-c345-4371-a381-1de71b260486)\n\n\nTransação de pagamento:\n```http request\nPOST /api/transaction\n{\n    \"value\": 5.00,\n    \"payer\": 2,\n    \"payee\": 1\n}\n```\n\n```http response\n200 OK\n{\n    \"id\": \"9f0425ff-9af3-4640-b7c1-85c750380fdb\",\n    \"value\": 5.00,\n    \"payer\": 2,\n    \"payee\": 1,\n    \"createdAt\": \"2024-05-16T18:39:50.490496789\"\n}\n```\nCadastro de usuário (Consumidor ou Logista):\n```http request\nPOST /api/user\n{\n    \"name\": \"Gustavo Souza\",\n    \"email\": \"gustavosouza@gmail.com\",\n    \"document\": \"79461016000\",\n    \"userType\": \"CONSUMER\",\n    \"password\": \"12344\",\n    \"balance\": 50.00\n}\n```\n\n```http response\n200 OK\n{\n    \"id\": 2,\n    \"name\": \"Gustavo Souza\",\n    \"document\": \"79461016000\",\n    \"email\": \"gustavosouza@gmail.com\",\n    \"userType\": \"CONSUMER\",\n    \"balance\": 50.00\n}\n```\n\n\nDepósito:\n```http request\nPOST /api/user/deposit\n{\n    \"user\": 1,\n    \"amount\": 50.99\n}\n```\n\n```http response\n200 OK\n{\n    \"user\": 1,\n    \"amount\": 50.99\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsantosjennifer%2Fswiftpay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsantosjennifer%2Fswiftpay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsantosjennifer%2Fswiftpay/lists"}