{"id":21037740,"url":"https://github.com/ianahart/cars-rest-api","last_synced_at":"2026-04-20T19:31:26.345Z","repository":{"id":114349863,"uuid":"604321224","full_name":"ianahart/cars-REST-api","owner":"ianahart","description":"Learning java by building a REST api","archived":false,"fork":false,"pushed_at":"2023-02-20T20:57:12.000Z","size":84,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-26T18:58:47.819Z","etag":null,"topics":["java","rest-api","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/ianahart.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":"2023-02-20T20:11:35.000Z","updated_at":"2024-06-25T18:42:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"b06f3e29-62e3-46f2-9e13-02b2c7eb727e","html_url":"https://github.com/ianahart/cars-REST-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ianahart/cars-REST-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ianahart%2Fcars-REST-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ianahart%2Fcars-REST-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ianahart%2Fcars-REST-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ianahart%2Fcars-REST-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ianahart","download_url":"https://codeload.github.com/ianahart/cars-REST-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ianahart%2Fcars-REST-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32062245,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T11:35:06.609Z","status":"ssl_error","status_checked_at":"2026-04-20T11:34:48.899Z","response_time":94,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["java","rest-api","spring-boot"],"created_at":"2024-11-19T13:27:50.085Z","updated_at":"2026-04-20T19:31:26.328Z","avatar_url":"https://github.com/ianahart.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# REST API with Spring Boot, Postgresql, JPA and Hibernate\n\n# Steps to Setup\n\n1. ### Clone the application\n```\ngit clone https://github.com/ianahart/cars-REST-api.git\n```\n2. ### Create database called **cars** inside **Postgres**\n```\nCREATE DATABASE cars;\n```\n3. ### Change username and password as per your installation inside **application.properties**\n\u003e - Open src/main/resources/application.properties\n\n\u003e - Change spring.datasource.username and spring.datasource.password as per your postgresql installation\n\n4. ### Build and run the app using maven\n\n```\nmvn clean install spring-boot:run\n```\nAlternatively you can run the app without packaging it using -\n```\nmvn spring-boot:run\n```\nThe app will start running at http://localhost:8080\nTo View the API documentation in a ui http://localhost:8080/webjars/swagger-ui/index.html\n\n# Explore Rest APIS\n\nThe app defines following CRUD APIS.\nIn order for this api to work, you must create(POST) in the following order: **driver**, **cars**, **reviews**.\n```\ndrivers\n\nGET /api/v1/drivers\nPOST /api/v1/drivers\nGET /api/v1/drivers/{driverId}\nPATCH /api/v1/drivers/{driverId}\n DELETE /api/v1/drivers/{driverId}\n\ncars\n\n GET /api/v1/cars\nPOST /api/v1/cars\nGET /api/v1/cars/{driverId}\nPATCH /api/v1/cars/{driverId}\n DELETE /api/v1/cars/{driverId}\n\n reviews\n\n GET /api/v1/reviews\nPOST /api/v1/reviews\nGET /api/v1/reviews/{driverId}\nPATCH /api/v1/reviews/{driverId}\n DELETE /api/v1/reviews/{driverId}\n```\n\n![api-doc](https://user-images.githubusercontent.com/29121238/220197364-dd807945-6bc5-427c-8495-27536e637dfd.png)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fianahart%2Fcars-rest-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fianahart%2Fcars-rest-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fianahart%2Fcars-rest-api/lists"}