Design a reservation and payment system for a parking garage.
-
User should be able to reserve Mobile or Desktop no Special Machine at the Parking spot
-
A user should be able to login to the system
-
A user should be able to select a parking spot. (Only 1 parking garage)
-
A user should be able to pay with credit card for the parking spot. (pix) Also Paypal, Bitcoin
-
Language of the system. Portugese and English
-
A user should be able to choose the type. ( compact, regular, and large vehicles)
-
A user should receive an email confirmation
-
A user should be able to finish the parking and receive an email with the billing details.
-
There is an authorization for the payment when parking is booked.
-
The payment is collected at the end.
-
A user should be able to reserve ahead of time.
NonFuncitonal Requirements:
- Performance
- Available
- Fault-Tolerant
- Cost
Priority on 1 to 10
Users: 1M Users. Spots: 1000 spots.
Users -userid -email -name -city -phone number -address
1M * 500 * 4 Bytes = 2000B * 1M = 2GB
ParkingSpot -parkingid -type -details
Reservation -reservationid -userid -parkingid -datetime -status(booked,occupied,completed)
Billing -billingid -status (Approved, Authorized, Failed Payment ) -creationdate -approvaldate -paymentdate -userid (fix) -reservationid (fix)
Wallet -userid -creditcard(encrpyted) PII Legal -pin(encrpyted) PII Legal -expdate
UP to 100GB
TYPE #compact #regular #large vehicles
https://excalidraw.com/#room=ed9b803f20d8cd5b323e,SltxcfMMWwJ4rfrU-u6QBA
Pagatome Maracadole