An open API service indexing awesome lists of open source software.

https://github.com/sayantand99/system-design-parking-lot

Parking Lot System Design
https://github.com/sayantand99/system-design-parking-lot

java low-level-design machine-coding parkinglot system-design

Last synced: 3 months ago
JSON representation

Parking Lot System Design

Awesome Lists containing this project

README

        

# System-Design-Parking-Lot

This repository contains a simplified version of a parking lot system. It's designed to manage a multi-storey parking lot and keep track of all the parking spots.

## Design a Parking Lot

### Requirements :

- The parking lot should have multiple floors where customers can park their cars.
- The system should support parking for different types of vehicles like car, truck, van, motorcycle, etc.
- Each parking floor will have many parking slots depending on type of the vehicle.
- The parking lot should have multiple entry and exit points.
- Customers can collect a parking ticket from the entry points and can pay the parking fee at the exit points on their way out.
- System should check for slots available before allocating to a customer.
- Ticket will be generate at the entry gate.
- As soon as ticket is generated slot will also be assigned.
- System should have a record of Entry / Exit Time and Gate Number.
- Once a customer pays and leaves, the slot used should be made available to book for other customers.
- System should support multiple payment options like UPI, Net Banking, Cash.
- Parking fee has to be dynamic.
- Slot Picking Algorithm can be configurable.

## Class Diagram :

![Parking Lot Class Diagram](https://github.com/SayantanD99/System-Design-Parking-Lot/assets/32683338/8accc0b9-c69b-4b83-a4ad-fe97e0e92441)