{"id":14955653,"url":"https://github.com/binos30/parking-system","last_synced_at":"2026-02-13T05:01:55.588Z","repository":{"id":228996012,"uuid":"744400190","full_name":"binos30/parking-system","owner":"binos30","description":"Parking allocation system using Rails 7, PostgreSQL, React, and React Bootstrap","archived":false,"fork":false,"pushed_at":"2025-09-29T21:40:54.000Z","size":3526,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-01T01:31:32.930Z","etag":null,"topics":["framework","mvc","mvc-framework","parking-management","parking-system","rails","rails-application","rails-crud","rails-react","rails-react-app","react-rails","ruby","ruby-on-rails","web-framework"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/binos30.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-01-17T08:15:25.000Z","updated_at":"2025-06-21T01:35:21.000Z","dependencies_parsed_at":"2024-08-14T07:25:28.414Z","dependency_job_id":"0df77c48-3c8a-4460-9227-5cca7bea1cde","html_url":"https://github.com/binos30/parking-system","commit_stats":{"total_commits":48,"total_committers":2,"mean_commits":24.0,"dds":0.04166666666666663,"last_synced_commit":"339f8359874623bf9614f0c2523a126f4b39a347"},"previous_names":["binos30/parking-system"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/binos30/parking-system","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binos30%2Fparking-system","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binos30%2Fparking-system/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binos30%2Fparking-system/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binos30%2Fparking-system/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/binos30","download_url":"https://codeload.github.com/binos30/parking-system/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binos30%2Fparking-system/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29396847,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-13T04:26:15.637Z","status":"ssl_error","status_checked_at":"2026-02-13T04:16:29.732Z","response_time":78,"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":["framework","mvc","mvc-framework","parking-management","parking-system","rails","rails-application","rails-crud","rails-react","rails-react-app","react-rails","ruby","ruby-on-rails","web-framework"],"created_at":"2024-09-24T13:11:30.135Z","updated_at":"2026-02-13T05:01:55.566Z","avatar_url":"https://github.com/binos30.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Parking System\n\n[![Created Badge](https://badges.pufler.dev/created/binos30/parking-system)](https://badges.pufler.dev)\n[![Updated Badge](https://badges.pufler.dev/updated/binos30/parking-system)](https://badges.pufler.dev)\n[![CI](https://github.com/binos30/parking-system/actions/workflows/ci.yml/badge.svg)](https://github.com/binos30/parking-system/actions/workflows/ci.yml)\n[![Dependabot Status](https://badgen.net/github/dependabot/binos30/parking-system?icon=dependabot)](https://dependabot.com)\n\nParking allocation system\n\n![Dashboard](./app/assets/images/dashboard.png)\n\n## Setup\n\nPrerequisites\n\n- [Ruby 3.3.5](https://github.com/rbenv/rbenv)\n- [PostgreSQL](https://www.postgresql.org/download/)\n- [Node.js ^20.15.1](https://github.com/nvm-sh/nvm)\n\nCreate `.env` file at the root of the project directory. Copy the content of `.env.template.erb` to `.env` then update the `username` and `password` based on your database credentials\n\nInstall dependencies and setup database\n\n```bash\nbin/setup\n```\n\nRe-enable git hooks _(Run this command only if you've already set up the application prior to the migration from husky to lefthook)_\n\n```bash\ngit config --unset core.hooksPath\n```\n\nRun `lefthook install` to sync the git hooks\n\nStart local web server\n\n```bash\nbin/dev\n```\n\nGo to [http://localhost:3000](http://localhost:3000)\n\n## GitHub Actions, Linting and Security Auditing\n\nGitHub actions are setup to lint and test the application.\n\nYou can also run these actions locally before pushing to see if your run is likely to fail. See the following gems / commands for more info.\n\n- [Brakeman](https://brakemanscanner.org/) - Security audit application code\n\n  ```bash\n  bin/brakeman --no-pager\n  ```\n\n- [Brakeman: Ignoring False Positives](https://brakemanscanner.org/docs/ignoring_false_positives) - Creating and Managing an Ignore File\n\n  ```bash\n  bin/brakeman -I --no-pager\n  ```\n\n- [Bundler Audit](https://github.com/rubysec/bundler-audit) - Security audit dependencies\n\n  ```bash\n  bin/bundler-audit --update\n  ```\n\n- [Rubocop Rails Omakase](https://github.com/rails/rubocop-rails-omakase) - Ruby Linter\n\n  ```bash\n  bin/rubocop\n  ```\n\n  **Note:** Some linters like `ESLint`, `Prettier`, etc. will automatically run on `pre-commit` git hook.\n\n## Testing\n\nSetup test database\n\n```bash\nbin/rails db:test:prepare\n```\n\nDefault: Run all spec files (i.e., those matching spec/\\*\\*/\\*\\_spec.rb)\n\n```bash\nbin/rspec\n```\n\nor with `--fail-fast` option to stop running the test suite on the first failed test. You may add a parameter to tell RSpec to stop running the test suite after N failed tests, for example: `--fail-fast=3`\n\n```bash\nbin/rspec --fail-fast\n```\n\nRun all spec files in a single directory (recursively)\n\n```bash\nbin/rspec spec/models\n```\n\nRun a single spec file\n\n```bash\nbin/rspec spec/models/entrance_spec.rb\n```\n\nRun a single example from a spec file (by line number)\n\n```bash\nbin/rspec spec/models/entrance_spec.rb:6\n```\n\nUse the plain-English descriptions to generate a report of where the application conforms to (or fails to meet) the spec\n\n```bash\nbin/rspec --format documentation\n```\n\n```bash\nbin/rspec --format documentation spec/models/entrance_spec.rb\n```\n\nSee all options for running specs\n\n```bash\nbin/rspec --help\n```\n\n## Code Coverage\n\n[Coverage]: https://docs.ruby-lang.org/en/3.3/Coverage.html \"API doc for Ruby's Coverage library\"\n[SimpleCov]: https://github.com/simplecov-ruby/simplecov \"A code coverage analysis tool for Ruby\"\n\n[SimpleCov][SimpleCov] is a code coverage analysis tool for Ruby. It uses [Ruby's built-in Coverage][Coverage] library to\ngather code coverage data, but makes processing its results much easier by providing a clean API to filter, group, merge, format,\nand display those results, giving you a complete code coverage suite that can be set up with just a couple lines of code.\nSimpleCov/Coverage track covered ruby code, gathering coverage for common templating solutions like erb, slim and haml is not supported.\n\nAfter running your tests, open `coverage/index.html` in the browser of your choice. For example, in a Mac Terminal,\nrun the following command from your application's root directory:\n\n```bash\nopen coverage/index.html\n```\n\nin a Debian/Ubuntu Terminal,\n\n```bash\nxdg-open coverage/index.html\n```\n\n**Note:** [This guide](https://dwheeler.com/essays/open-files-urls.html) can help if you're unsure which command your particular\noperating system requires.\n\n## Modules\n\n`Dashboard` - Monitors the occupancy of the parking spaces\n\n`Entrances` - List of parking entrances\n\n`Parking Lots` - List of parking lots. You can add slot when adding new parking lot\n\n`Parking Slots` - List of parking slots\n\n`Bookings` - List of vehicle bookings\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinos30%2Fparking-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbinos30%2Fparking-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinos30%2Fparking-system/lists"}