Skip to content

Latest commit

 

History

History
97 lines (62 loc) · 3.46 KB

File metadata and controls

97 lines (62 loc) · 3.46 KB

Bike Management System Web

Web App written in C# for managing bikes in a rental service. Uses ASP.NET Core MVC as frontend.

Compiling

Bike Management System requires at least .NET 9 to run.

  1. Compile project using VS Studio 2022 with C# and .NET extensions installed

Migration

Update DesignTimeBikeManagementDbContext.cs in BikeManagementSystemLib to your needs.

Creating migration

Add-Migration InitialCreate -Project BikeManagementSystemLib -StartupProject BikeManagementSystemWeb

Updating database

Update-Database -Project BikeManagementSystemLib -StartupProject BikeManagementSystemWeb

Running

  1. Compile code
  2. Do database migration
  3. Run app

Images

Bike table

Allows CRUD operations with pagination on bikes and view their maintenance history.

Bike table

Bike maintenances

Displays the bike's full maintenance history.

Bike maintenances

Bike Add/Edit form

Form used to create/update bikes.

Bike edit form

Vendor table

Supports CRUD operations with pagination on vendors.

Vendor table

Bike type table

Provides CRUD operations with pagination support on bike types.

Bike type table

Bike type wear ratios

Allows setting bike wear ratios for terrains.

Bike type wear ratios table

Wear ratio update form

Used to update wear ratio for selected bike type and terrain.

Bike type wear ratio edit form

Bike rental

Allows to rent bikes for selected client.

Bike rental

Active rentals table

Shows active rentals with pagination and lets you return bikes from a selected rental.

Active rental table

Active rental form

Displays details of the selected rental and rented bikes. Used to return them.

Active rental form

Return bike form

Allows to describe state in which bike was returned.

Return bike form

Worn bikes

Displays bikes requiring maintenance.

Worn bikes table

Maintenance form

Used to describe bike maintenance process.

Bike maintenance form

Terrain table

Supports CRUD operations with pagination on terrains.

Maintenance form