{"id":32861951,"url":"https://github.com/preton24/vehicleparking","last_synced_at":"2025-11-08T22:02:04.971Z","repository":{"id":322076489,"uuid":"1088092681","full_name":"Preton24/VehicleParking","owner":"Preton24","description":null,"archived":false,"fork":false,"pushed_at":"2025-11-02T11:51:34.000Z","size":59,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-02T13:17:31.350Z","etag":null,"topics":["flask-sqlalchemy","sqlite"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/Preton24.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-02T09:46:50.000Z","updated_at":"2025-11-02T12:06:19.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/Preton24/VehicleParking","commit_stats":null,"previous_names":["preton24/vehicleparking"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/Preton24/VehicleParking","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Preton24%2FVehicleParking","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Preton24%2FVehicleParking/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Preton24%2FVehicleParking/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Preton24%2FVehicleParking/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Preton24","download_url":"https://codeload.github.com/Preton24/VehicleParking/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Preton24%2FVehicleParking/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":283424652,"owners_count":26833720,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-11-08T02:00:06.281Z","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":["flask-sqlalchemy","sqlite"],"created_at":"2025-11-08T22:01:05.818Z","updated_at":"2025-11-08T22:02:04.957Z","avatar_url":"https://github.com/Preton24.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"#🚗 SMART VEHICLE PARKING MANAGEMENT\n\nA Flask-based web app for managing parking lots, slots, and reservations with separate dashboards for **admins** and **users**.\n\n## Table of Contents\n\n*   [Features](#features)\n*   [Technologies Used](#technologies-used)\n*   [Database Schema](#database-schema)\n*   [Installation \u0026 Setup](#installation--setup)\n*   [Admin Credentials](#admin-credentials)\n\n---\n\n## Features  \n\n### 👩‍💼 Admin  \n- Manage parking lots (CRUD operations)  \n- Manage slots (Available, Booked, Maintenance, Occupied)  \n- View and cancel any reservation  \n- Track cost and status of all bookings  \n\n### 👤 User  \n- Register, log in, and view parking lots  \n- Book available slots by **entering vehicle number** (no duration input)  \n- Release slot when leaving — cost auto-calculated based on duration  \n- View current and past reservations on dashboard  \n- **Redirected to Payment Page** after ending reservation  \nOnce payment is completed, the reservation is marked as **Paid**, and users are redirected to their dashboard with a success message.  \n\n---\n\n## Technologies Used\n- **Flask**, **Flask-SQLAlchemy**, **Flask-Login**, **Flask-Migrate**  \n- **SQLite** for data storage  \n- **Bootstrap + Jinja2** for responsive UI  \n- **Werkzeug** for secure password hashing  \n- **Datetime** module for time tracking  \n\n---\n\n## Database Schema  \n\n| Table        | Key Fields                                                                 |\n|---------------|---------------------------------------------------------------------------|\n| **User**         | id, name, email, password, role                                          |\n| **ParkingLot**   | id, name, location, price/hr, address, pin_code, max_spots               |\n| **ParkingSlot**  | id, lot_id, slot_number, status                                          |\n| **Reservation**  | id, user_id, slot_id, vehicle_number, start_time, end_time, cost, status |\n\n---\n\n## Installation \u0026 Setup\n\nTo get the project running locally:\n\n1.  **Clone the repository:**\n    ```bash\n    git clone https://github.com/Preton24/VehicleParking\n    cd VehicleParking\n    ```\n\n2.  **Create and activate a virtual environment:**\n    ```bash\n    python -m venv venv\n    # On Windows:\n    venv\\Scripts\\activate\n    # On macOS/Linux:\n    source venv/bin/activate\n    ```\n\n3.  **Install dependencies:**\n    ```bash\n    pip install Flask Flask-SQLAlchemy Flask-Login Werkzeug Flask-Migrate\n     ```\n\n4.  **Run the application:**\n    ```bash\n    python app.py\n    ```\n\n## Admin Credentials\n\n*   **Email:** `admin@example.com`\n*   **Password:** `adminpassword`\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpreton24%2Fvehicleparking","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpreton24%2Fvehicleparking","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpreton24%2Fvehicleparking/lists"}