{"id":20752520,"url":"https://github.com/andhikayuana/car-gallery-api","last_synced_at":"2026-05-25T13:39:57.123Z","repository":{"id":88789098,"uuid":"134129066","full_name":"andhikayuana/car-gallery-api","owner":"andhikayuana","description":"Simple CRUD API using Slim Framework","archived":false,"fork":false,"pushed_at":"2019-01-12T13:16:39.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-20T00:14:23.803Z","etag":null,"topics":["crud-api","php","simple-api","slim-framework","slim3"],"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/andhikayuana.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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-20T07:30:03.000Z","updated_at":"2019-01-12T13:16:41.000Z","dependencies_parsed_at":"2023-06-12T15:00:27.839Z","dependency_job_id":null,"html_url":"https://github.com/andhikayuana/car-gallery-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/andhikayuana/car-gallery-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andhikayuana%2Fcar-gallery-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andhikayuana%2Fcar-gallery-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andhikayuana%2Fcar-gallery-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andhikayuana%2Fcar-gallery-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andhikayuana","download_url":"https://codeload.github.com/andhikayuana/car-gallery-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andhikayuana%2Fcar-gallery-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33477948,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-25T06:32:55.349Z","status":"ssl_error","status_checked_at":"2026-05-25T06:32:35.322Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["crud-api","php","simple-api","slim-framework","slim3"],"created_at":"2024-11-17T08:41:54.374Z","updated_at":"2026-05-25T13:39:57.104Z","avatar_url":"https://github.com/andhikayuana.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Car Gallery API\n\n## Requirements\n\n* Web server with URL rewriting\n* PHP 7 or latest\n* PostgreSQL 10.4 or latest\n* [Composer](https://getcomposer.org/)\n* [Git](https://git-scm.com/)\n\n## Installation\n\n* Clone this repository using `git` \n\n```bash\ngit clone git@github.com:andhikayuana/car-gallery-api.git\n```\n\n* Install depdendencies using `composer`\n\n```bash\n$ cd car-gallery-api\n$ composer install\n```\n\n* Import [this database](https://github.com/andhikayuana/car-gallery-api/blob/master/db_rest.sql) on your local machine\n* Setup your environment database to [src/settings.php](https://github.com/andhikayuana/car-gallery-api/blob/master/src/settings.php#L18)\n\n## Runninng \n\nTo run this API using this command\n\n```bash\ncd public\nphp -S localhost:3000\n```\nAccess `localhost:3000` using postman or your web browser \n\nand now you can see like this \n\n```json\n{\n  \"name\": \"Cars API\",\n  \"version\": \"1.0.0\"\n}\n```\n\n## How to use this API\n\n```\n[GET] /cars | get all cars\n[GET] /cars/{id} | get cars by id\n[POST] /cars | insert cars\nbody [raw] :\n{\n    \"year\": \"2011\",\n    \"make\": \"honda\",\n    \"model\": \"mobilio\"\n}\n[PUT] /cars/{id} | update cars\nbody [raw] :\n{\n    \"year\": \"2015\",\n    \"make\": \"halo\",\n    \"model\": \"world\"\n}\n[DELETE] /cars/{id} | delete by id\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandhikayuana%2Fcar-gallery-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandhikayuana%2Fcar-gallery-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandhikayuana%2Fcar-gallery-api/lists"}