Skip to content
NC-PBPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

ParkingHQ

ParkingHQ is a car park management web application for administering multiple car parks, their tariffs, permanent tenants, and parking transactions. It includes a simulation module to generate entry/exit events and an evaluation module to review transactions and occupancy.

Built with ASP.NET Core Razor Pages (.NET 9) and Entity Framework Core on SQL Server.

Features

  • Dashboard – Live capacity utilization per car park, split between visitors and permanent tenants.
  • Car Parks – Create, edit, and delete car parks; manage floors, weekday tariffs, holiday tariffs, and holiday dates.
  • Permanent Tenants – Manage tenants and assign them to parking lots.
  • Simulation – Simulate entries and exits for both ticketed visitors and permanent tenants.
  • Evaluation – Review entry/exit history and transactions per car park, with date filtering.

Screenshots

Dashboard

Overview of every car park with current capacity utilization for visitors and tenants.

Dashboard

Car Parks

Manage car parks, floors, and tariff configuration.

Car Parks

Permanent Tenants

Maintain tenants and their parking lot assignments.

Permanent Tenants

Simulation

Simulate entry and exit events with tickets or tenants.

Simulation

Evaluation

Filterable entry/exit and transaction reporting per car park.

Evaluation

Entry and Exit

Tech Stack

  • .NET 9 / ASP.NET Core Razor Pages
  • Entity Framework Core 9 (Code First with migrations)
  • SQL Server (LocalDB / SQL Server Express)
  • Repository and Unit of Work patterns

Project Structure

Project Description
ParkingHQ.Web Razor Pages front-end (UI, page models, Program.cs).
ParkingHQ.Models Domain entities (CarPark, Tenant, Transaction, tariffs, etc.).
ParkingHQ.DataAccess EF Core DbContext, repositories, Unit of Work, and migrations.
ParkingHQ.Utility Business logic helpers (parking, tenants, transactions, entry/exit).

Getting Started

Prerequisites

  • .NET 9 SDK
  • SQL Server (Express/LocalDB) or another SQL Server instance

Configuration

The default connection string is defined in ParkingHQ/appsettings.json:

"ConnectionStrings": {
  "DefaultConnection": "Server=.\\SQLEXPRESS;Database=ParkingHQ;Trusted_Connection=True;TrustServerCertificate=True;MultipleActiveResultSets=true"
}

Adjust the Server value to match your local SQL Server instance if needed.

Setup & Run

# Restore dependencies
dotnet restore

# Apply the database migrations (creates the ParkingHQ database)
dotnet ef database update --project ParkingHQ.DataAccess --startup-project ParkingHQ

# Run the web application
dotnet run --project ParkingHQ

The application will be available at the URL shown in the console (e.g. https://localhost:5001).

License

See LICENSE.txt.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages