Modern, multilingual restaurant menu management system with admin panel and order management.
- 🌍 Multilingual Support: 6 languages (Turkish, English, German, French, Arabic, Russian)
- 👨💼 Admin Panel: Complete menu and order management
- 📱 Responsive Design: Works on all devices
- 🔐 User Management: Role-based access control
- 📊 Order Management: Real-time order tracking
- 📈 Reports: Excel export functionality
- 🎨 Modern UI: Beautiful, intuitive interface
# Install dependencies
npm install
# Start development server
npm run dev
# Open http://localhost:5173# Make deploy script executable
chmod +x deploy.sh
# Deploy to production
./deploy.sh production
# Deploy to staging
./deploy.sh staging# Build and run
docker-compose up -d
# Check status
docker-compose ps
# View logs
docker-compose logs -f# Build for production
npm run build
# Serve built files
npm run serve
# Or use any static file server
npx serve dist -l 3000Create .env file:
NODE_ENV=production
PORT=3000- Username:
admin - Password:
admin
src/
├── components/ # React components
│ ├── admin/ # Admin panel components
│ ├── customer/ # Customer view components
│ ├── auth/ # Authentication components
│ └── common/ # Shared components
├── context/ # React contexts
├── data/ # JSON data files
├── types/ # TypeScript types
└── utils/ # Utility functions
- Frontend: React 18, TypeScript, Tailwind CSS
- Icons: Lucide React
- Routing: React Router DOM
- Build: Vite
- Deployment: Docker, Nginx
- Role-based access control
- Session management
- Input validation
- XSS protection
- Rate limiting (in production)
- Super Admin: Full system access
- Admin: Menu, orders, languages, reports
- Manager: Orders and reports
- Staff: Order management only
- Vercel:
vercel --prod - Netlify: Drag & drop
distfolder - AWS S3: Upload
distfolder - DigitalOcean: Use Docker deployment
- Clone repository
- Run
./deploy.sh production - Configure domain/SSL in nginx.conf
The system uses localStorage for data persistence. In production, you might want to integrate with:
- REST API
- GraphQL
- Database (PostgreSQL, MongoDB)
- Cloud storage
# Pull latest changes
git pull origin main
# Rebuild and deploy
./deploy.sh production-
Port already in use:
docker-compose down ./deploy.sh production
-
Permission denied:
chmod +x deploy.sh
-
Docker not found:
- Install Docker Desktop
- Start Docker service
# Application logs
docker-compose logs -f restaurant-menu
# Nginx logs
docker-compose logs -f nginx
# All logs
docker-compose logs -fFor issues and questions:
- Check logs:
docker-compose logs - Restart services:
docker-compose restart - Full reset:
docker-compose down && ./deploy.sh production
MIT License - feel free to use for commercial projects.
🎉 Happy cooking! 🍳