{"id":16466606,"url":"https://github.com/geekcom/transfer","last_synced_at":"2025-03-21T06:32:08.207Z","repository":{"id":98855094,"uuid":"315341357","full_name":"geekcom/transfer","owner":"geekcom","description":"A simple values transfer API","archived":false,"fork":false,"pushed_at":"2024-09-12T19:02:09.000Z","size":171,"stargazers_count":15,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-17T22:08:37.014Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/geekcom.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":"2020-11-23T14:30:06.000Z","updated_at":"2024-09-12T19:02:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"f2a88f3e-7c34-4722-a969-89cf679d747e","html_url":"https://github.com/geekcom/transfer","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geekcom%2Ftransfer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geekcom%2Ftransfer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geekcom%2Ftransfer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geekcom%2Ftransfer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geekcom","download_url":"https://codeload.github.com/geekcom/transfer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244751460,"owners_count":20504241,"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":[],"created_at":"2024-10-11T11:44:11.565Z","updated_at":"2025-03-21T06:32:07.792Z","avatar_url":"https://github.com/geekcom.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Money Transfer API\n\n## About\n\nA simple RESTful API to send and receive money\n\n- Simple;\n- Configurable;\n- With notifications;\n- Testable;\n- Made with Laravel 8;\n- Open source.\n\n## Stack\n\nMySQL 8, PHP 8, Laravel 9.\n\n## Requirements to local run\n\n* Docker;\n* Docker Compose;\n* External API services to:\n    * Authorize transfers: `CONSULT_EXTERNAL_API_SERVICE`;\n    * Notify users about transfers: `NOTIFICATION_USER_API_SERVICE`'.\n\n## Installation\n\n* Clone or download this repository;\n* In your terminal run: `docker-compose up -d`;\n* Rename `.env.example` to `.env`\n* In your terminal execute the commands:\n    * `docker exec -it transfer-api composer install`\n    * `docker exec -it transfer-api php artisan key:generate`\n    * `docker exec -it transfer-api php artisan migrate:fresh --seed`\n\n## Test\n\nJust run `docker exec -it transfer-api composer test`\n\n## How to execute\n\n#### Make a new transfer\n\n`POST`\n```sh\nhttp://localhost:8000/api/v1/users/transfer\n```\n**header:** `Content-Type: application/json`\n\n`body`\n```js\n{\n    \"value\": \"100.00\",\n    \"payer\": \"0730a5e4-89a2-4dd9-8d31-ab6344b0ba60\",\n    \"payee\": \"0a35e361-873a-4075-8615-643fa1297fc0\"\n}\n```\n\n#### List Users\n\n`GET`\n```sh\nhttp://localhost:8000/api/v1/users\n```\n\n#### Show User\nUsers Ids are UUID, for example:`0a35e361-873a-4075-8615-643fa1297fc0`\n\n`GET`\n```sh\nhttp://localhost:8000/api/v1/users/{userId}\n```\n\n##\n\n### Todo list\n\n- [ ] More tests;\n- [ ] GitHub Actions;\n- [ ] New endpoints;\n- [ ] ......\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeekcom%2Ftransfer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeekcom%2Ftransfer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeekcom%2Ftransfer/lists"}