鋼架租賃
使用 AI 代理建立
腳手架租賃後端

腳手架租賃後端模板
租賃櫃台、檢查日誌和交付排程

一個在 Back4app 上的生產就緒 腳手架租賃後端,具備 ScaffoldKit、Ladder、預訂、檢查日誌和工地交付追蹤,以支持 yard、desk 和 site 的工作流程。包括 ER 圖、數據字典、JSON 架構、API 遊樂場,以及一個 AI 代理 提示以輕鬆設置。

租賃注意事項

此模板提供一個具有 ScaffoldKit、梯子、預訂、檢查日誌和工地交付跟蹤功能的租賃後端,讓您的辦公室人員在派遣之前可以確認可用性和安全性。

  1. 以檢查為首的庫存在租賃釋放之前,使用檢查日誌記錄跟蹤每個 ScaffoldKit 和梯子。
  2. 高度和伸展細節儲存 platformLengthFeet、platformWidthFeet、maxHeightFeet 和 maxReachFeet,以便工作人員能夠將正確的單元匹配到任務上。
  3. 交付排程使用 JobSiteDelivery 規劃每個地點的 deliveryWindow、contactName、contactPhone 和狀態。
  4. 租賃櫃台可見性將預訂、用戶、ScaffoldKit 和梯子的狀態放在一個可查詢的後端中。

概覽:圍籬租賃

捆綁包和工具包使圍籬租賃變得複雜:當某樣東西被替代時,您需要保留一致的項目線、依賴關係和計數。這常常不是單一的錯誤——而是漂移。此模板對 Back4app 上的核心實體進行建模,以便您可以啟動一個運作良好的圍籬租賃平台,而無需從頭開始重建預訂邏輯。該架構涵蓋了用戶、ScaffoldKit、梯子、工地交付、檢查日誌和預訂,內建身份驗證和租賃工作流程支持。連接您首選的前端,並更快上線。

最佳適用對象:

圍籬租賃操作梯子租賃預訂應用程序設備檢查日誌工作網站交付排程MVP 發布團隊選擇 BaaS 作為租賃產品

這個腳手架租賃後端是如何組織的

如果在腳手架租賃中新增員工的入職需要內部知識,那麼你離單點故障就只有一次離開的距離。

無論你是從 Flutter、React、Next.js 還是其他支持的路徑開始,期待相同的用戶帳號和聯絡詳情、設備庫存及高度規範、租賃訂單工作流程。

腳手架租賃功能

此中心中的每個技術卡片均使用相同的支架租賃後端架構,包括 User、ScaffoldKit、Ladder、Booking、InspectionLog 和 JobSiteDelivery。

用戶帳戶和聯絡資訊

用戶存儲員工和客戶的用戶名、電子郵件、角色和密碼。

設備清單及其高度規格

ScaffoldKit 跟蹤 kitCode、platformLengthFeet、platformWidthFeet、maxHeightFeet、inspectionStatus、location 和 owner。

租賃預訂工作流程

預訂存儲 bookingNumber、customerName、startDate、endDate、siteAddress、requestedHeightFeet、status、scaffoldKit、ladder 和 customer。

檢查日誌

InspectionLog 記錄 inspectedAt、inspectedBy、inspectionType、result、heightCheckedFeet、notes、scaffoldKit、ladder 和 delivery。

工地送貨追蹤

JobSiteDelivery 連結 deliveryNumber、siteName、siteAddress、deliveryWindow、status、contactName、contactPhone 和 requestedBy。

為何要使用 Back4app 建立你的腳手架租賃後端?

Back4app 為你提供用戶、資產、檢查和交付基本功能,讓你的團隊可以專注於安全檢查和派送準確性,而不是後端維護。

  • 訂票和庫存記錄: 訂票、ScaffoldKit 和 Ladder 類別將 requestedHeightFeet、inspectionStatus 和 kitCode 集中顯示在一個地方。
  • 檢查和合規流程: InspectionLog 記錄幫助桌面在釋放之前驗證 inspectionType、result 和 heightCheckedFeet。
  • 實時 + API 靈活性: 在保持 REST 和 GraphQL 對每個客戶入口網站及內部工具可用的同時,使用 Live Queries 進行 JobSiteDelivery 更改。

快速在網絡、移動和運營界面上使用一個後端合約構建和迭代租賃桌工作流程。

腳手架租賃的好處

一個租賃後端,幫助您的桌面更快速移動,而不失去對檢查和交付細節的把握。

更快的預訂處理

從用戶、預訂和所需高度(英尺)開始,而不是從零開始設計租賃工作流程。

更安全的釋放決策

使用檢查日誌和檢查狀態決定腳手架設備或梯子是否可以離開場地。

清晰的交付協調

保持作業地點交付、交付窗口和聯絡電話一致,以便調度知道每個腳手架或梯子的去向。

更強的設備控制

追蹤設備代碼、梯子代碼、最大高度(英尺)和最大伸展距離(英尺),以減少錯誤的預訂。

租賃歷史的單一來源

將預訂、檢查和交付工作一起儲存,而不需要在不同工具中拆分記錄。

AI啟動工作流程

通過一個結構化的提示快速生成後端架構和整合指導。

準備好啟動您的架構租賃應用程式了嗎?

讓 Back4app AI代理架構您的租賃後端,並從一個提示中生成檢查、高度規格和交付流程。

免費開始 — 每月50個AI代理提示,無需信用卡

租賃技術堆疊

這個腳手架租賃後端範本包含所有內容。

前端
13+ 技術
後端
Back4app
數據庫
MongoDB
身份驗證
內建身份驗證 + 會話
API
REST 和 GraphQL
即時
Live Queries

資產ER圖

租賃後端架構的實體關係模型。

查看圖表來源
Mermaid
erDiagram
    User ||--o{ ScaffoldKit : "owner"
    User ||--o{ Ladder : "owner"
    User ||--o{ JobSiteDelivery : "requestedBy"
    User ||--o{ InspectionLog : "inspectedBy"
    User ||--o{ Booking : "customer"
    ScaffoldKit ||--o{ InspectionLog : "scaffoldKit"
    ScaffoldKit ||--o{ Booking : "scaffoldKit"
    Ladder ||--o{ InspectionLog : "ladder"
    Ladder ||--o{ Booking : "ladder"
    JobSiteDelivery ||--o{ InspectionLog : "delivery"

    User {
        String objectId PK
        String username
        String email
        String password
        String role
        Date createdAt
        Date updatedAt
    }

    ScaffoldKit {
        String objectId PK
        String kitCode
        Number platformLengthFeet
        Number platformWidthFeet
        Number maxHeightFeet
        String inspectionStatus
        String location
        String ownerId FK
        Date createdAt
        Date updatedAt
    }

    Ladder {
        String objectId PK
        String ladderCode
        String type
        Number maxReachFeet
        String inspectionStatus
        String conditionNotes
        String ownerId FK
        Date createdAt
        Date updatedAt
    }

    JobSiteDelivery {
        String objectId PK
        String deliveryNumber
        String siteName
        String siteAddress
        String deliveryWindow
        String status
        String contactName
        String contactPhone
        String requestedById FK
        Date createdAt
        Date updatedAt
    }

    InspectionLog {
        String objectId PK
        Date inspectedAt
        String inspectedById FK
        String inspectionType
        String result
        Number heightCheckedFeet
        String notes
        String scaffoldKitId FK
        String ladderId FK
        String deliveryId FK
        Date createdAt
        Date updatedAt
    }

    Booking {
        String objectId PK
        String bookingNumber
        String customerName
        Date startDate
        Date endDate
        String status
        String siteAddress
        Number requestedHeightFeet
        String scaffoldKitId FK
        String ladderId FK
        String customerId FK
        Date createdAt
        Date updatedAt
    }

租賃流程

登錄、資產查找、檢查登記、預訂和交付計劃的典型運行流程。

查看圖表來源
Mermaid
sequenceDiagram
  participant User
  participant App as Scaffolding & Ladder Rental App
  participant Back4app as Back4app Cloud

  User->>App: Sign in
  App->>Back4app: POST /login
  Back4app-->>App: Session token

  User->>App: Open active bookings
  App->>Back4app: GET /classes/Booking?include=scaffoldKit,ladder,customer
  Back4app-->>App: Booking rows with height specs

  User->>App: Add job site delivery
  App->>Back4app: POST /classes/JobSiteDelivery
  Back4app-->>App: deliveryNumber and status

  User->>App: Record inspection log
  App->>Back4app: POST /classes/InspectionLog
  Back4app-->>App: InspectionLog objectId

  App->>Back4app: Subscribe to Booking and JobSiteDelivery updates
  Back4app-->>App: LiveQuery delivery and inspection changes

字段字典

腳手架租賃模式中每個類的完整字段級參考。

欄位類型描述必填
objectIdStringAuto-generated unique identifier自動
usernameStringUser login name
emailStringUser email address
passwordStringHashed password (write-only)
roleStringRole of the user (e.g., admin, staff, customer)
createdAtDateAuto-generated creation timestamp自動
updatedAtDateAuto-generated last-update timestamp自動

7 欄位在 User 中

權限與安全性

ACL 和 CLP 策略如何保護用戶、資產、預訂、檢查和交付工作。

用戶和角色控制

只有帳戶擁有者或授權的桌面用戶應該更新用戶的聯絡詳細資料和角色。

設備和檢查完整性

只有工作人員可以創建或修改 ScaffoldKit、梯子和 InspectionLog 條目;在 Cloud Code 中驗證通過/未通過的過渡。

範圍預訂訪問

限制 Booking 和 JobSiteDelivery 的讀取權限給客戶、工作台人員、派遣和指定的工作組。

JSON 架構

原始 JSON 架構定義可準備複製到 Back4app 或用作實施參考。

JSON
{
  "classes": [
    {
      "className": "User",
      "fields": {
        "objectId": {
          "type": "String",
          "required": false
        },
        "username": {
          "type": "String",
          "required": true
        },
        "email": {
          "type": "String",
          "required": true
        },
        "password": {
          "type": "String",
          "required": true
        },
        "role": {
          "type": "String",
          "required": true
        },
        "createdAt": {
          "type": "Date",
          "required": false
        },
        "updatedAt": {
          "type": "Date",
          "required": false
        }
      }
    },
    {
      "className": "ScaffoldKit",
      "fields": {
        "objectId": {
          "type": "String",
          "required": false
        },
        "kitCode": {
          "type": "String",
          "required": true
        },
        "platformLengthFeet": {
          "type": "Number",
          "required": true
        },
        "platformWidthFeet": {
          "type": "Number",
          "required": true
        },
        "maxHeightFeet": {
          "type": "Number",
          "required": true
        },
        "inspectionStatus": {
          "type": "String",
          "required": true
        },
        "location": {
          "type": "String",
          "required": true
        },
        "owner": {
          "type": "Pointer",
          "required": true,
          "targetClass": "User"
        },
        "createdAt": {
          "type": "Date",
          "required": false
        },
        "updatedAt": {
          "type": "Date",
          "required": false
        }
      }
    },
    {
      "className": "Ladder",
      "fields": {
        "objectId": {
          "type": "String",
          "required": false
        },
        "ladderCode": {
          "type": "String",
          "required": true
        },
        "type": {
          "type": "String",
          "required": true
        },
        "maxReachFeet": {
          "type": "Number",
          "required": true
        },
        "inspectionStatus": {
          "type": "String",
          "required": true
        },
        "conditionNotes": {
          "type": "String",
          "required": false
        },
        "owner": {
          "type": "Pointer",
          "required": true,
          "targetClass": "User"
        },
        "createdAt": {
          "type": "Date",
          "required": false
        },
        "updatedAt": {
          "type": "Date",
          "required": false
        }
      }
    },
    {
      "className": "JobSiteDelivery",
      "fields": {
        "objectId": {
          "type": "String",
          "required": false
        },
        "deliveryNumber": {
          "type": "String",
          "required": true
        },
        "siteName": {
          "type": "String",
          "required": true
        },
        "siteAddress": {
          "type": "String",
          "required": true
        },
        "deliveryWindow": {
          "type": "String",
          "required": true
        },
        "status": {
          "type": "String",
          "required": true
        },
        "contactName": {
          "type": "String",
          "required": true
        },
        "contactPhone": {
          "type": "String",
          "required": true
        },
        "requestedBy": {
          "type": "Pointer",
          "required": true,
          "targetClass": "User"
        },
        "createdAt": {
          "type": "Date",
          "required": false
        },
        "updatedAt": {
          "type": "Date",
          "required": false
        }
      }
    },
    {
      "className": "InspectionLog",
      "fields": {
        "objectId": {
          "type": "String",
          "required": false
        },
        "inspectedAt": {
          "type": "Date",
          "required": true
        },
        "inspectedBy": {
          "type": "Pointer",
          "required": true,
          "targetClass": "User"
        },
        "inspectionType": {
          "type": "String",
          "required": true
        },
        "result": {
          "type": "String",
          "required": true
        },
        "heightCheckedFeet": {
          "type": "Number",
          "required": false
        },
        "notes": {
          "type": "String",
          "required": false
        },
        "scaffoldKit": {
          "type": "Pointer",
          "required": false,
          "targetClass": "ScaffoldKit"
        },
        "ladder": {
          "type": "Pointer",
          "required": false,
          "targetClass": "Ladder"
        },
        "delivery": {
          "type": "Pointer",
          "required": false,
          "targetClass": "JobSiteDelivery"
        },
        "createdAt": {
          "type": "Date",
          "required": false
        },
        "updatedAt": {
          "type": "Date",
          "required": false
        }
      }
    },
    {
      "className": "Booking",
      "fields": {
        "objectId": {
          "type": "String",
          "required": false
        },
        "bookingNumber": {
          "type": "String",
          "required": true
        },
        "customerName": {
          "type": "String",
          "required": true
        },
        "startDate": {
          "type": "Date",
          "required": true
        },
        "endDate": {
          "type": "Date",
          "required": true
        },
        "status": {
          "type": "String",
          "required": true
        },
        "siteAddress": {
          "type": "String",
          "required": true
        },
        "requestedHeightFeet": {
          "type": "Number",
          "required": true
        },
        "scaffoldKit": {
          "type": "Pointer",
          "required": false,
          "targetClass": "ScaffoldKit"
        },
        "ladder": {
          "type": "Pointer",
          "required": false,
          "targetClass": "Ladder"
        },
        "customer": {
          "type": "Pointer",
          "required": true,
          "targetClass": "User"
        },
        "createdAt": {
          "type": "Date",
          "required": false
        },
        "updatedAt": {
          "type": "Date",
          "required": false
        }
      }
    }
  ]
}

使用 AI 代理構建

利用 Back4app AI 代理從此模板生成一個真實的腳手架租賃應用程序,包括前端、後端、身份驗證,以及檢查、預訂和交付流程。

Back4app AI 代理
準備好建立
在 Back4app 上創建一個安全的腳手架租賃應用後端,遵循此確切的架構和行為。

架構:
1. 用戶(使用 Back4app 內建):用戶名(字串,必填),電子郵件(字串,必填),密碼(字串,必填),角色(字串,必填);objectId,createdAt,updatedAt(系統)。
2. ScaffoldKit:kitCode(字串,必填),平台長度(英尺,數字,必填),平台寬度(英尺,數字,必填),最大高度(英尺,數字,必填),檢查狀態(字串,必填),位置(字串,必填),擁有者(指向用戶的指標,必填);objectId,createdAt,updatedAt(系統)。
3. 梯子:ladderCode(字串,必填),類型(字串,必填),最大可達高度(英尺,數字,必填),檢查狀態(字串,必填),狀況說明(字串,可選),擁有者(指向用戶的指標,必填);objectId,createdAt,updatedAt(系統)。
4. JobSiteDelivery:deliveryNumber(字串,必填),工地名稱(字串,必填),工地地址(字串,必填),交付時間(字串,必填),狀態(字串,必填),聯繫人姓名(字串,必填),聯繫人電話(字串,必填),請求者(指向用戶的指標,必填);objectId,createdAt,updatedAt(系統)。
5. InspectionLog: inspectedAt(日期,必填),inspectedBy(指向用戶的指標,必填),檢查類型(字串,必填),結果(字串,必填),檢查高度(英尺,數字,可選),備註(字串,可選),scaffoldKit(指向ScaffoldKit的指標,可選),ladder(指向Ladder的指標,可選),delivery(指向JobSiteDelivery的指標,可選);objectId,createdAt,updatedAt(系統)。
6. 預訂:bookingNumber(字串,必填),客戶名稱(字串,必填),開始日期(日期,必填),結束日期(日期,必填),狀態(字串,必填),工地地址(字串,必填),請求高度(英尺,數字,必填),scaffoldKit(指向ScaffoldKit的指標,可選),ladder(指向Ladder的指標,可選),客戶(指向用戶的指標,必填);objectId,createdAt,updatedAt(系統)。

安全性:
- 工作人員可以管理ScaffoldKit、Ladder、InspectionLog和JobSiteDelivery條目。
- 客戶可以創建預約請求並查看自己的預約。
- 只有授權用戶可以標記檢查狀態、調整交付狀態或附加檢查日誌。

認證:
- 註冊、登入、登出。

行為:
- 列出符合平台長度、平台寬度、最大高度和最大可達高度的腳手架套件和梯子。
- 為指定高度規格的工地創建預約。
- 在租賃之前、交付之後和退還時記錄檢查日誌。
- 發送並更新工地的交付狀態。

交付:
- Back4app 應用,包含架構、CLPs、ACLs,及針對租賃櫃檯工作人員、資產擁有者和客戶的前端。

按下下面的按鈕以使用此模板提示預填內容打開代理。

這是沒有技術後綴的基本提示。您可以在之後調整生成的前端堆疊。

幾分鐘內部署每月 50 次免費提示不需要信用卡

API 測試器

嘗試對照構建租賃架構測試 REST 和 GraphQL 端點。響應使用模擬數據,並不需要 Back4app 帳戶。

加載運行環境…

使用與此範本相同的架構。

選擇技術

展開每個卡片以查看如何將 ScaffoldKit、Ladder 和 JobSiteDelivery 與您選擇的技術堆疊整合。

Flutter 鋼架租賃後端

React 鋼架租賃後端

React 原生 鋼架租賃後端

Next.js 鋼架租賃後端

JavaScript 鋼架租賃後端

Android 鋼架租賃後端

iOS 鋼架租賃後端

Vue 鋼架租賃後端

Angular 鋼架租賃後端

GraphQL 鋼架租賃後端

REST API 鋼架租賃後端

PHP 鋼架租賃後端

.NET 鋼架租賃後端

您每個技術獲得的內容

每個技術堆疊都使用相同的搭建租賃後端架構和 API 合約。

統一的租賃數據結構

輕鬆管理用戶、ScaffoldKit、Ladder、預訂、檢查日志和 JobSiteDelivery,使用一致的架構。

以檢查為驅動的租賃團隊操作

在派遣之前保持 inspectionType、result 和 heightCheckedFeet 可見。

工地的交付追踪

通過 JobSiteDelivery、contactName 和狀態更新保持客戶的知情。

高度規格和負載細節

為設備選擇定義 platformLengthFeet、platformWidthFeet、maxHeightFeet 和 maxReachFeet。

腳手架技術比較

比較所有支持技術的設置速度、SDK 樣式和 AI 支持。

框架設置時間租賃福利SDK 類型AI 支持
大約 5 分鐘為租賃櫃檯、檢查和在移動設備及網路上的交付提供單一代碼基。類型化 SDK完整
少於 5 分鐘快速的網頁儀表板,用於預訂和設備可用性。類型化 SDK完整
~3–7 分鐘跨平台的移動應用程式,用於庭院檢查和交付更新。類型化 SDK完整
快速(5分鐘)設置伺服器渲染的網頁應用程式,用於租賃操作和客戶入口。類型化SDK完整
約3-5分鐘輕量級的網頁整合,用於預訂接收和庫存查詢。類型化SDK完整
約5分鐘原生Android應用程式,供現場員工和調度使用。類型化SDK完整
少於 5 分鐘原生 iOS 應用程式用於檢查和交付確認。類型化 SDK完整
約 3–7 分鐘React 直觀的網頁 UI 用於租賃櫃檯操作。類型化 SDK完整
快速(5 分鐘)設置企業網頁應用程式,用於庫存、預訂和合規檢查。類型化 SDK完整
少於 2 分鐘靈活的 GraphQL API 用於設備、檢查和交付任務。GraphQL API完整
快速(2 分鐘)設置REST API 整合租賃系統和客戶門戶。REST API完整
約 3 分鐘伺服器端 PHP 後端,用於租賃桌工具。REST API完整
約 3–7 分鐘.NET 後端用於租賃操作和報告。類型安全的 SDK完整

設置時間反映了從項目啟動到使用此模板架構的首次設備或預訂查詢的預期持續時間。

租賃常見問題

有關使用此模板構建腳手架租賃後端的常見問題。

如何才能讓腳手架租賃的定價和押金保持公平,而不影響結帳速度?
腳手架租賃模型應該如何在一個一致的圖中預訂、處理衝突和押金?
這個腳手架租賃後端能否擴展到多地點庫存和集中定價規則?
我如何使用 Flutter 執行設備和預訂的查詢?
我如何使用 Next.js Server Actions 管理腳手架租賃訪問?
能否讓 React 本地緩存檢查和交付工作離線?
我該如何防止未授權的設備編輯?
在 Android 上顯示梯子高度規格的最佳方法是什麼?

全球開發者信賴的選擇

與 Back4app 模板一起,加入團隊更快地推出租賃產品

G2 Users Love Us Badge

準備好構建你的租賃腳手架應用程式了嗎?

在幾分鐘內開始你的租賃項目。無需信用卡。

選擇技術