How dadou1985/mysweethotelpro works
My Sweet Hotel Pro is a hotel-staff operations application. Staff enter through authentication, navigate hotel workflows, and manage operational and guest information through feature screens; the instruction book and custom visual tools are also documented capabilities. Sampled code shows Firebase/Firestore-backed screens and shared mutation helpers, while the README describes a separate GraphQL and Socket.IO API; their exact integration in this tree is not established, so that documented API relationship is marked unverified.
Main entry points: drawer.js Mobile navigation · chat.js Multilingual chat · useFirestore.js Firestore hooks · config.js Firebase services
Components 20
Entry and navigation
- Staff login
src/components/auth/login.js - Home dashboard
src/pages/home.js - Mobile navigation
src/utils/drawer/drawer.js
Hotel operations
- Hotel dashboard
src/components/dashboard/dashboard.js - Operational checklists
src/components/checkList/checkList.js - Maintenance book
src/components/section/sidebar/desktop/maintenance.js - Cash sheet
src/utils/safe/safeDetailSheet.js - VTC scheduling
src/components/section/sidebar/mobile/cab.mobile.js - Wake-up scheduling
src/components/section/sidebar/mobile/clock.mobile.js
Guest services
- Guest CRM
src/components/crm/crmTable.js - Multilingual chat
src/components/chat/chat.js - Lost and found
src/components/lostAndFound/lostNFound.js - Instruction book
src/components/notebook/nootebook.js - Custom visual tools
src/components/profile/profile.js
Data and shared services
- Firebase services
src/config/Firebase/config.js - Firestore hooks
src/utils/hooks/useFirestore.js - Firestore mutations
src/utils/commonFunctions.js - Translation setup
i18n/config.js
Other components
- Hotel staff
- Back-office API
Connections 22
- Hotel staff → Staff login: signs in
- Staff login → Firebase services: authenticates with
src/components/auth/login.js - Hotel staff → Home dashboard: opens
- Home dashboard → Hotel dashboard: shows
- Hotel staff → Mobile navigation: navigates
src/utils/drawer/drawer.js - Mobile navigation → Hotel dashboard: routes to
src/utils/drawer/drawer.js - Mobile navigation → Operational checklists: routes to
src/utils/drawer/drawer.js - Mobile navigation → VTC scheduling: routes to
src/utils/drawer/drawer.js - Mobile navigation → Wake-up scheduling: routes to
src/utils/drawer/drawer.js - Mobile navigation → Maintenance book: routes to
src/utils/drawer/drawer.js - Mobile navigation → Lost and found: routes to
src/utils/drawer/drawer.js - Guest CRM → Firestore hooks: reads and writes
src/components/crm/crmTable.js - Guest CRM → Multilingual chat: renders timeline
src/components/crm/crmTable.js - Multilingual chat → Firebase services: uses services
src/components/chat/chat.js - Lost and found → Firestore hooks: uses queries
src/components/lostAndFound/lostNFound.js - Instruction book → Firestore hooks: uses queries
src/components/notebook/nootebook.js - Firestore hooks → Firestore mutations: delegates writes
src/utils/hooks/useFirestore.js - Firestore mutations → Firebase services: writes Firestore
src/utils/commonFunctions.js - Custom visual tools → Firebase services: uses services
src/components/profile/profile.js - Hotel staff → Back-office API: uses documented API
README.md - Multilingual chat → Back-office API: real-time messaging
README.md - Translation setup → Multilingual chat: supports languages
README.md