{"id":20676910,"url":"https://github.com/cyberinferno/fuber-api","last_synced_at":"2026-05-05T10:32:11.464Z","repository":{"id":70329979,"uuid":"133264300","full_name":"cyberinferno/fuber-api","owner":"cyberinferno","description":"An on call cab service RESTful API","archived":false,"fork":false,"pushed_at":"2018-05-14T08:26:58.000Z","size":62,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-17T14:56:56.509Z","etag":null,"topics":["mysql","rest-api","yii2"],"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/cyberinferno.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":"2018-05-13T18:35:54.000Z","updated_at":"2023-10-13T04:09:31.000Z","dependencies_parsed_at":"2023-05-12T21:00:26.941Z","dependency_job_id":null,"html_url":"https://github.com/cyberinferno/fuber-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyberinferno%2Ffuber-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyberinferno%2Ffuber-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyberinferno%2Ffuber-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyberinferno%2Ffuber-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cyberinferno","download_url":"https://codeload.github.com/cyberinferno/fuber-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242906896,"owners_count":20204917,"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":["mysql","rest-api","yii2"],"created_at":"2024-11-16T21:13:59.381Z","updated_at":"2026-05-05T10:32:06.444Z","avatar_url":"https://github.com/cyberinferno.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Füber\nAn on call taxi service.\n\nBuilt using Yii2 PHP framework making use of MySQL database.\n\n## Requirement\n* PHP 7.0\n* Composer Package Manager\n* MySQL\n\n## Running the project\n* Clone project: `git clone https://github.com/cyberinferno/fuber-api.git`\n* Install dependencies: `composer install`\n* Run the command `./init` to initialize the project\n* Update `.env` file with proper database name and credentials\n* Run database migrations using the command `./yii migrate`\n* Run dev server: `./yii serve --docroot=api/web`\n\n## API Endpoints\n\n| Endpoint | HTTP Verb | Payload | Explanation |\n|:----------:|:-----------:|:--------:|:--------|\n| /oauth2/token| POST | {\"grant_type\": \"password\", \"username\": \"fubertest1\", \"password\": \"fubertest1\", \"client_id\":\"testclient\", \"client_secret\":\"testpass\"} | Get access token |\n| /car | GET | - | List all available cars |\n| /booking | POST | {\"type\": 10, \"currentLocationX\": 10, \"currentLocationY\": 15, \"destinationLocationX\": 30, \"destinationLocationY\": 15} | Book a ride |\n| /booking/:id | PUT | {} | End a ride |\n| /booking/:id | GET | - | Check ride details |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcyberinferno%2Ffuber-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcyberinferno%2Ffuber-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcyberinferno%2Ffuber-api/lists"}