๐จ StayDesk is an intelligent email management system for hotels that automatically reads guest inquiries, provides real-time availability and pricing, and generates secure booking links - all powered by AI.
- Automatic Email Reading: Parse guest inquiries from any email platform
- Intelligent Data Extraction: Extract check-in/out dates, guest count, room preferences
- Context Understanding: Understand guest intent and special requests
- Instant Availability Check: Real-time room availability lookup
- Dynamic Pricing: Automatic pricing calculation based on dates and occupancy
- Personalized Responses: Tailored email responses for each inquiry
- One-Click Booking: Direct booking links sent in email responses
- Secure Payment Processing: Industry-standard payment security
- Mobile-Optimized: Responsive booking pages for all devices
- Performance Metrics: Track response times, conversion rates, revenue
- Email Management: Monitor all inquiries and responses
- Booking Tracking: Real-time booking status and management
- Node.js 18+
- npm or yarn
-
Clone the repository
git clone https://github.com/your-org/staydesk.git cd staydesk -
Install dependencies
npm run install-deps
-
Start development server
npm run dev
-
Open your browser Navigate to http://localhost:3000
staydesk/
โโโ frontend/ # Next.js React application
โ โโโ app/ # App router pages
โ โ โโโ booking/ # Dynamic booking pages
โ โ โ โโโ [slug]/ # Booking link handler
โ โ โโโ layout.tsx # Root layout
โ โ โโโ page.tsx # Dashboard landing page
โ โโโ components/ # Reusable UI components
โ โ โโโ ui/ # Base UI components
โ โ โโโ dashboard-stats.tsx
โ โ โโโ recent-emails.tsx
โ โโโ lib/ # Utilities and configurations
โ โ โโโ types.ts # TypeScript definitions
โ โ โโโ utils.ts # Helper functions
โ โ โโโ store.ts # State management (Zustand)
โ โโโ package.json
โโโ backend/ # Future API services
โ โโโ api/ # REST API endpoints
โ โโโ nlp/ # AI/NLP processing
โโโ package.json # Root package configuration
- Framework: Next.js 15.4.1 (App Router)
- Language: TypeScript
- Styling: Tailwind CSS v4
- State Management: Zustand
- UI Components: Radix UI + Custom components
- Icons: Lucide React
- Validation: Zod
- Runtime: Node.js / Python
- AI/NLP: OpenAI GPT / Custom models
- Database: PostgreSQL / MongoDB
- Email Integration: IMAP/POP3 connectors
The main dashboard provides:
- Performance metrics (emails processed, response times, conversions)
- Recent email queries with AI-generated responses
- Quick actions for hotel management and settings
- Real-time booking status tracking
- Guest sends inquiry to hotel email
- AI processes email content and extracts booking details
- System checks availability and calculates pricing
- Automated response sent with booking link
- Guest completes booking via secure link
- Multi-step booking process (details โ payment โ confirmation)
- Real-time pricing calculation
- Secure payment processing
- Mobile-responsive design
- Guest information validation
# Development
npm run dev # Start development server
npm run build # Build for production
npm run start # Start production server
npm run lint # Run ESLint
# Dependencies
npm run install-deps # Install frontend dependencies- Use TypeScript for all components
- Follow functional component patterns
- Implement proper error handling
- Add JSDoc comments for complex logic
- Use Tailwind CSS for styling
- Zustand store for global state
- React hooks for local state
- Server components when possible
- Client components only when needed
- Connect repository to Vercel
- Set build command:
cd frontend && npm run build - Set output directory:
frontend/.next - Deploy automatically on push
# Build image
docker build -t staydesk .
# Run container
docker run -p 3000:3000 staydesk- Landing page dashboard
- Booking page with dynamic routing
- UI components and responsive design
- TypeScript implementation
- Email parsing and NLP processing
- AI response generation
- Real-time availability checking
- Dynamic pricing engine
- REST API development
- Database integration
- Email platform connectors
- Payment processing
- Multi-language support
- Advanced analytics
- Mobile app
- Hotel management portal
- Fork the repository
- Create feature branch (
git checkout -b feature/amazing-feature) - Commit changes (
git commit -m 'Add amazing feature') - Push to branch (
git push origin feature/amazing-feature) - Open Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Documentation: docs.staydesk.com
- Issues: GitHub Issues
- Email: support@staydesk.com
Built with โค๏ธ by the StayDesk Team