{"id":19794629,"url":"https://github.com/code-crash/parking-lot","last_synced_at":"2026-06-14T10:33:38.594Z","repository":{"id":44208473,"uuid":"274883062","full_name":"Code-Crash/parking-lot","owner":"Code-Crash","description":"This project is demonstration of Parking Lot.","archived":false,"fork":false,"pushed_at":"2022-12-30T20:42:09.000Z","size":69,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-06-14T10:33:35.584Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/Code-Crash.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}},"created_at":"2020-06-25T10:00:20.000Z","updated_at":"2020-06-25T10:00:49.000Z","dependencies_parsed_at":"2023-01-31T16:15:36.675Z","dependency_job_id":null,"html_url":"https://github.com/Code-Crash/parking-lot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Code-Crash/parking-lot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-Crash%2Fparking-lot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-Crash%2Fparking-lot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-Crash%2Fparking-lot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-Crash%2Fparking-lot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Code-Crash","download_url":"https://codeload.github.com/Code-Crash/parking-lot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-Crash%2Fparking-lot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34318523,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-14T02:00:07.365Z","response_time":62,"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":[],"created_at":"2024-11-12T07:13:46.130Z","updated_at":"2026-06-14T10:33:38.575Z","avatar_url":"https://github.com/Code-Crash.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Parking Lot Management [command line application]\n\n\nTo understand the detailed requirement, please read ```PROBLEM.md``` file.\n\n## Prerequisites\n\n* As this application don't have any lib dependency except for test cases, but you should already have Node version \u003e 10.x installed on the system.\n\n\n## How to setup?\n\n1. ```npm run setup``` // This will installed the test dependencies, run the test cases, and process the sample.input.txt file\n\n2. Note: If you face any error to run the ```./bin/setup.sh``` file, please change the file permission as executable using command ```chmod +x ./bin/setup.sh```, to check if it's executable or not run ```ls -l ./bin/setup.sh```\n\n## How it works:\n\n* To run the command reader, run follows command\n\n  ```npm start``` \n* After the command reader started, enter ```help``` command to get the basic information of different commands or read ```PROBLEM.md```. Use a full screen terminal to see the proper output of ```help``` command as it will print the list of commands in the table format. \n\n* You can also pass the list of command with the help of input file, to test it use exiting file and command.\n\n    ```npm run file sample.input.txt```\n\n\n## Features:\n\n* Command Reader to read the command one by one or process the list of command through the input text file.\n* Basic commands from ```PROBLEM.md```.\n* Logger (hold the history/error/activity of user inputs and commands)\n* Charges/Prices are configurable in single file, path: ```./config/index.js```\n* Logger configurable to log on console through logger or not, path: ```./config/index.js```\n* Allowed a specific type of vehicles based on your parking lot capacity. ```./config/index.js```\n* Duplicate vehicles and bunch of other validations.\n* Basic Test Suite is ready to cover tests of the basic functionalities of the parking lot.\n\n## Note: \n\n1. This application was build on MAC OS (Mojave), but it should run on any (linux/unix) system as long as ```Node\u003e10.x``` is installed.\n\n\n## TODO\n\n* We can add server support\n* More Test Cases for command line reader or file handler.\n* More Functionality\n* Add Database Support with Promises if anyone required.\n* Make it online application to host on server with user management functionalities like login/sign-up/ticket receipt/etc. \n* Add support to send logs to safe place like cloud or any db.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-crash%2Fparking-lot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcode-crash%2Fparking-lot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-crash%2Fparking-lot/lists"}