{"id":23849055,"url":"https://github.com/mishnit/parking_lot","last_synced_at":"2026-05-14T22:05:08.512Z","repository":{"id":147577633,"uuid":"274310535","full_name":"mishnit/parking_lot","owner":"mishnit","description":"A Golang GRPC Microservice with REST and command line interface","archived":false,"fork":false,"pushed_at":"2020-07-14T05:58:04.000Z","size":4378,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-11T22:33:23.026Z","etag":null,"topics":["command-line-tool","golang","grpc","microservices","parking-lot","rest-api"],"latest_commit_sha":null,"homepage":"","language":"Go","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/mishnit.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-06-23T04:43:58.000Z","updated_at":"2020-07-14T05:58:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"78ff895d-b24e-4c4b-a6a7-b1003b6fd2c1","html_url":"https://github.com/mishnit/parking_lot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mishnit/parking_lot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mishnit%2Fparking_lot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mishnit%2Fparking_lot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mishnit%2Fparking_lot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mishnit%2Fparking_lot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mishnit","download_url":"https://codeload.github.com/mishnit/parking_lot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mishnit%2Fparking_lot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33045149,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-14T02:00:06.663Z","response_time":57,"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":["command-line-tool","golang","grpc","microservices","parking-lot","rest-api"],"created_at":"2025-01-02T21:50:37.955Z","updated_at":"2026-05-14T22:05:08.493Z","avatar_url":"https://github.com/mishnit.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## 🚗 PARKING LOT 1.4.2:\n\nA Golang GRPC Microservice with REST and command line interface (Dockerised Application)\n\n## 🦉 REQUIREMENTS:\n```\ngo version go1.13.1 linux/amd64 (for installing dependencies in vendor folder and building commands in build folder)\ndocker-compose version 1.21.2\nDocker version 19.03.2\n```\n\n## 🙈 RUN UNIT TESTS + BUILD:\n```\n$ ./bin/setup\n```\n\n## 😼 RUN FUNCTIONAL SPECS CHECK:\n```\n$ ./bin/run_functional_tests\n```\n\n## 🦄 RUN INTERACTIVE SHELL:\n```\n$ ./bin/parking_lot\n```\n\n## 🏆 COMMANDS USAGE:\n```\ncreate_parking_lot \u003cmax_slots_num\u003e                        Create Parking lot of size n\npark \u003ccar_reg_number\u003e \u003ccar_colour\u003e                        Park car in the first available slot from entry gate\nleave \u003cslot_num\u003e                                          Unpark car from given slot num\nstatus                                                    List all occupied slots along with car details\nregistration_numbers_for_cars_with_colour \u003ccar_colour\u003e    List car registration numbers having specific colour\nslot_numbers_for_cars_with_colour \u003ccar_colour\u003e            List slot numbers parked with car having specific colour\nslot_number_for_registration_number \u003ccar_reg_number\u003e      Display slot number for given car registration number\nexit                                                      Exit from shell\n```\n\n## 🐶 PASS FILE AS AN ARGUMENT (TEST CASES):\n```\n$ ./build/parking_lot bin/fixtures/file_input.txt\n```\n\n## 🚀 REST APIS:\n```\nhttp://localhost:3569/swagger-parking/\n```\n\n## 🐞 ERROR CODES AND MESSAGES:\n```\nErrLotSizeLTEZero       Lot size cannot be \u003c= zero\nErrNoLotFound           No lot available, please create a lot first\nErrParkingFull          Sorry, parking lot is full\nErrInvalidSlot          Slot invalid\nErrParking              Parking slot is empty\nErrInvalidCarNumber     Invalid indian car number plate format\nErrNotFound             Not found\nError                   Unexpected error occured\nErrInvalidCommand       Invalid command\nRegexCarNumber          ^[A-Z]{2}-[0-9]{2}-[A-Z]{1,2}-[0-9]{1,4}$\n```\n\n## 😎 AUTHOR:\n\n- Nitin Mishra\n- geekymishnit@gmail.com\n- +91-9535507255\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmishnit%2Fparking_lot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmishnit%2Fparking_lot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmishnit%2Fparking_lot/lists"}