{"id":28554845,"url":"https://github.com/sazardev/go-clean-menu","last_synced_at":"2026-02-03T11:06:48.934Z","repository":{"id":284592842,"uuid":"955042056","full_name":"sazardev/go-clean-menu","owner":"sazardev","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-24T17:59:31.000Z","size":333,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-30T08:47:38.662Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sazardev.png","metadata":{"files":{"readme":"README.md","changelog":"history.go","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-03-26T02:40:34.000Z","updated_at":"2025-04-24T17:59:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"616ce623-5e8a-4c7c-ba42-c67b22a764e5","html_url":"https://github.com/sazardev/go-clean-menu","commit_stats":null,"previous_names":["cerberusprogrammer/go-clean-menu","sazardev/go-clean-menu"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sazardev/go-clean-menu","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sazardev%2Fgo-clean-menu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sazardev%2Fgo-clean-menu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sazardev%2Fgo-clean-menu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sazardev%2Fgo-clean-menu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sazardev","download_url":"https://codeload.github.com/sazardev/go-clean-menu/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sazardev%2Fgo-clean-menu/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29043846,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-03T10:09:22.136Z","status":"ssl_error","status_checked_at":"2026-02-03T10:09:16.814Z","response_time":96,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-10T05:07:10.843Z","updated_at":"2026-02-03T11:06:48.911Z","avatar_url":"https://github.com/sazardev.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go-Clean-Menu 🍽️\n\n[![Go Version](https://img.shields.io/badge/Go-1.24+-00ADD8?style=for-the-badge\u0026logo=go\u0026logoColor=white)](https://golang.org)\n[![License](https://img.shields.io/badge/license-MIT-blue.svg?style=for-the-badge)](LICENSE)\n[![Docker](https://img.shields.io/badge/Docker-Ready-2496ED?style=for-the-badge\u0026logo=docker\u0026logoColor=white)](https://www.docker.com/)\n[![PostgreSQL](https://img.shields.io/badge/PostgreSQL-13%2B-336791?style=for-the-badge\u0026logo=postgresql\u0026logoColor=white)](https://www.postgresql.org/)\n[![HTMX](https://img.shields.io/badge/HTMX-Powered-3366BB?style=for-the-badge)](https://htmx.org/)\n[![Bootstrap](https://img.shields.io/badge/Bootstrap-5.3-7952B3?style=for-the-badge\u0026logo=bootstrap\u0026logoColor=white)](https://getbootstrap.com/)\n\nA modern, elegant, and easy-to-use restaurant management system built with Go. Go-Clean-Menu helps you manage orders, kitchen operations, menus, and more with a clean, intuitive interface.\n\n## 🌟 Features\n\n- **📝 Order Management**: Create, edit, and track orders in real-time\n- **👨‍🍳 Kitchen Display System**: Streamline kitchen operations with a dedicated view\n- **🧾 Menu Administration**: Easily manage your products and categories\n- **🔄 Real-time Updates**: WebSocket-based updates across the application\n- **📊 Sales Analytics**: Track sales, popular products, and kitchen performance\n- **🗓️ Order History**: Complete historical record of all orders\n- **🛎️ Table Management**: Manage restaurant tables and their status\n- **🔧 System Configuration**: Customize settings to match your restaurant needs\n- **💾 Data Backup**: Create and download database backups\n- **🌓 Light/Dark Mode**: Toggle between light and dark themes\n- **🔐 Self-hosted**: Full control over your data and deployment\n- **📱 Responsive Design**: Works on desktop and mobile devices\n\n## 📸 Screenshots\n\n### Dashboard\n![Dashboard](https://github.com/user-attachments/assets/f835e3b4-cada-4453-97f4-a908151881ca)\n\n### Orders Management\n![Orders Management](https://github.com/user-attachments/assets/bbf07d33-c3d7-41b1-88dd-5e2340a13df7)\n\n## 🚀 Getting Started\n\n### Quick Start with Docker Compose\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/CerberusProgrammer/go-clean-menu.git\n   cd go-clean-menu\n   ```\n\n2. Start with Docker Compose:\n   ```bash\n   docker-compose up -d\n   ```\n\n3. Access the application:\n   ```\n   http://localhost:3001\n   ```\n\n### Manual Installation\n\n#### Prerequisites:\n- Go 1.24+\n- PostgreSQL 13+\n\n#### Steps:\n1. Clone the repository and navigate to the project directory\n2. Configure the database in `.env` file\n3. Install dependencies: `go mod download`\n4. Build the application: `go build -o app`\n5. Run the application: `./app`\n\n## 🧠 Architecture\n\nGo-Clean-Menu follows clean architecture principles with a focus on maintainability and testability:\n\n```\ngo-clean-menu/\n├── handlers.go      # HTTP request handlers\n├── helpers.go       # Utility functions\n├── history.go       # Order history functionality\n├── kitchen.go       # Kitchen display system\n├── main.go          # Application entry point\n├── menu.go          # Menu management\n├── models.go        # Data models\n├── orders.go        # Order processing logic\n├── settings.go      # Application settings\n├── tables.go        # Table management\n├── templates/       # HTML templates (using Go templates)\n│   ├── layouts/     # Layout templates\n│   └── partials/    # Reusable components\n├── Dockerfile       # Docker configuration\n└── docker-compose.yml  # Docker Compose configuration\n```\n\n## 🛠️ Tech Stack\n\n- **Backend**: Go with Fiber framework\n- **Database**: PostgreSQL\n- **Frontend**: HTML, Bootstrap 5, HTMX\n- **Real-time Updates**: WebSockets\n- **Containerization**: Docker\n- **Design Pattern**: MVC architecture\n- **Template Engine**: Go HTML Templates\n\n## 💻 Development\n\n### Environment Variables\n\nConfigure the application by modifying the `.env` file:\n\n```\nDB_HOST=db\nDB_PORT=5432\nDB_USER=postgres\nDB_PASSWORD=postgres\nDB_NAME=go_clean_menu\nPORT=3001\n```\n\n### Project Structure\n\n- **Templates**: HTML files in the `templates` directory\n- **Static Assets**: CSS, JS, and images in the `static` directory\n- **Logic**: Go files in the root directory, separated by functionality\n- **Database**: PostgreSQL with models defined in `models.go`\n\n### Key Components\n\n- **Order Lifecycle**: pending → in_progress → ready → to_pay → completed\n- **Kitchen Display**: Real-time view of pending orders for kitchen staff\n- **Analytics**: Sales tracking and kitchen performance metrics\n- **Product Management**: Categories and products with availability status\n\n## 🤝 Contributing\n\nContributions are welcome! Here's how you can help:\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'Add some amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n\nPlease ensure your code follows the project's coding style and includes appropriate tests.\n\n## 📄 License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n## 🙏 Acknowledgments\n\n- [Fiber](https://github.com/gofiber/fiber) - Fast HTTP framework for Go\n- [HTMX](https://htmx.org/) - High-power tools for HTML\n- [Bootstrap](https://getbootstrap.com/) - Frontend toolkit\n- [Inter Font](https://fonts.google.com/specimen/Inter) - Clean, modern typography\n\n---\n\nMade with ❤️ by [CerberusProgrammer](https://github.com/CerberusProgrammer)\n\n[⬆ Back to top](#go-clean-menu-)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsazardev%2Fgo-clean-menu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsazardev%2Fgo-clean-menu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsazardev%2Fgo-clean-menu/lists"}