{"id":19562824,"url":"https://github.com/yasin4261/scooter-web-api","last_synced_at":"2026-04-16T02:31:43.598Z","repository":{"id":256619462,"uuid":"845325683","full_name":"Yasin4261/scooter-web-api","owner":"Yasin4261","description":"Rent scooter web api with golang fiber.","archived":false,"fork":false,"pushed_at":"2024-09-13T21:54:22.000Z","size":37,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-26T09:14:57.103Z","etag":null,"topics":["backend","fiber","go","golang","mongodb","webapi"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Yasin4261.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-08-21T03:11:16.000Z","updated_at":"2024-09-14T11:39:25.000Z","dependencies_parsed_at":"2024-09-12T04:25:57.440Z","dependency_job_id":"9e033d12-17fb-41d2-bf89-e7be6f4af2cd","html_url":"https://github.com/Yasin4261/scooter-web-api","commit_stats":null,"previous_names":["yasin4261/scoter-web-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Yasin4261/scooter-web-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yasin4261%2Fscooter-web-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yasin4261%2Fscooter-web-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yasin4261%2Fscooter-web-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yasin4261%2Fscooter-web-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Yasin4261","download_url":"https://codeload.github.com/Yasin4261/scooter-web-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yasin4261%2Fscooter-web-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31868492,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"online","status_checked_at":"2026-04-16T02:00:06.042Z","response_time":69,"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":["backend","fiber","go","golang","mongodb","webapi"],"created_at":"2024-11-11T05:15:44.943Z","updated_at":"2026-04-16T02:31:43.569Z","avatar_url":"https://github.com/Yasin4261.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Scooter Rental API\n\nBu proje, scooter kiralama işlemlerini yönetmek için bir RESTful API'dir. Go dili ve MongoDB kullanılarak geliştirilmiştir.\n\n## Özellikler\n\n- Tüm scooter'ları listeleme\n- Yeni scooter oluşturma\n- Scooter konumunu güncelleme\n- Scooter durumunu güncelleme\n- Kiralama işlemleri (başlatma ve tamamlama)\n- Kullanıcı kiralamalarını listeleme\n\n## Kurulum\n\n1. **Projeyi Klonlayın:**\n\n   ```bash\n   git clone https://github.com/yourusername/scoter-web-api.git\n   cd scoter-web-api\n\n2. **Bağımlılıkları Yükleyin:**\n   ```bash\n   go mod download\n   ```\n   \n4. **MongoDB'yi Başlatın:** MongoDB'yi kurun ve başlatın.\n\n5. **Uygulamayı Başlatın:**\n   ```bash\n   go run cmd/api/main.go\n   ```\n\nUygulama varsayılan olarak `http://localhost:8080` adresinde çalışacaktır.\n\n\n## API Kullanımı\n\n### Scooter API\n- **GET** `/scooters`: Tüm scooter'ları listeleyin.\n- **POST** `/scooters`: Yeni scooter ekleyin.\n- **PATCH** `/scooters/{id}/location`: Scooter konumunu güncelleyin.\n- **PATCH** `/scooters/{id}/status`: Scooter durumunu güncelleyin.\n\n### Rental API\n- **POST** `/rentals`: Kiralama işlemini başlatın.\n- **GET** `/rentals/user/{user_id}`: Kullanıcının kiralamalarını listeleyin.\n- **PATCH** `/rentals/{id}/complete`: Kiralamayı tamamlayın.\n\n### Katkıda Bulunanlar\n[Yasin Güneş](https://github.com/Yasin4261)\n## Lisans\nBu proje MIT Lisansı altında lisanslanmıştır. Daha fazla bilgi için `LICENSE` dosyasına bakın.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyasin4261%2Fscooter-web-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyasin4261%2Fscooter-web-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyasin4261%2Fscooter-web-api/lists"}