ParkingFlow is a web parking management application built using ASP.NET Core MVC and SQL Server. It provides basic functionality for users to find and book parking spaces and for administrators to manage available slots and bookings. This project is suitable for educational purposes, prototyping, or as a starting point for building a full-featured parking management system.
- Backend: ASP.NET Core MVC with Entity Framework Core
- Frontend: Razor views, Bootstrap
- Authentication: ASP.NET Identity
- Database: SQL Server (Development), Azure SQL Server (Production)
- Payment: Stripe integration for booking checkout
- Hosting: Azure App Service
git clone https://github.com/hieudku/parkingflow.gitOpen the solution in Visual Studio 2022 (or later). Make sure you have the required .NET SDK installed ( .NET 6 or .NET 8 depending on your project settings).
In appsettings.json, configure the connection string(localdb):
"ConnectionStrings": {
"DefaultConnection": "Server=.;Database=ParkingFlow_db;Trusted_Connection=True;MultipleActiveResultSets=true"
}
If deploying to Azure, store this value in your App Service Configuration settings.
Add your Stripe API keys in appsettings.json or as environment variables (recommended for good practice):
"Stripe": {
"SecretKey": "your-stripe-secret-key",
"PublishableKey": "your-stripe-publishable-key"
}
Update-DatabaseThis command will create the necessary tables in your SQL Server database using Entity Framework migrations.
Set the project as the startup project and run via Visual Studio or with the CLI:
dotnet run
Visit https://localhost:5001 in your browser(localhost might differ).
- Admin: Can add/edit/delete parking slots and view all bookings
- User: Can browse available parking, make bookings, and manage their own reservations
Admin users must be seeded or manually assigned in the database.
You can optionally store sensitive config values outside appsettings.json for security (in secrets.json):
ConnectionStrings__DefaultConnectionStripe__SecretKeyStripe__PublishableKey
- The application can be hosted on Azure App Service.
- Database should be provisioned using Azure SQL or equivalent.
- Use Custom Domains and TLS/SSL bindings for production.
- Hieu Cu (Lead)
- Shivam Arora (Tester)