natalisvd / rental_office

0 stars 0 forks source link

create overview of main idea for mvp #10

Open tolyaganzin opened 1 day ago

tolyaganzin commented 1 day ago

Rental - Office

Resource

Type: single/office Flag: default/special (1,2,3,4,5,6,7,8 or full day)
capacity number 0 by default P_size: {x: number, y: number} X: number Y: number Width: number Height: number Floor: number 0 by default Name: string Description: string isActive: boolean Images: string[] Addons: {icon: string, name: string} []

Map

Name: string Image: string Resources: resource[]

Home page base functional

Top bar with name , phone and location (if needed) Select floor Select date (or range maybe) Qr scan icon Resource selection (on hover show type or so)

Resource details

Click on resource from map (step 1) Show details and order/booking settings

After click on next (step 2) Show info resource with a personal form for payment

After click on next (step 3) optional Show card form

After step 2, 3 Redirect to page with info of success operation There you can check details (same thing will send to email/phone) and back to map

Step 1 details

Left side

Name Images Addons Type

Right side

Subscription type (duration 1h-1year or 1d-1m booking possibility 6m - 12m preorder only) Optional calendar Optional time Optional if more than 1m Payment method + sum

Maybe combine step 2+3 with a payment method of step 1 Also ordering we can open at separate page (browser tab) if needed

Required

Server with easy access for deploy staging and storage for images 
floor plans 
with resources 
with data about shape and size
with data about special resources (maybe highlight it different color or so)

Backend

API map with resources at some range (1h by default) API available time slots depends from time parameter Have book/preorder apis After book resource send 2 mails (1 to customer, 2 to owner) and save user data Required resource details api