{"id":30750062,"url":"https://github.com/mysagra/mysagra","last_synced_at":"2026-05-23T13:03:59.139Z","repository":{"id":313099966,"uuid":"1050039968","full_name":"MySagra/mysagra","owner":"MySagra","description":"Smart ordering for your festival. Open-source fair-code solution for managing and organizing community festivals.","archived":false,"fork":false,"pushed_at":"2025-09-03T21:57:26.000Z","size":458,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-03T23:27:37.010Z","etag":null,"topics":["api-rest","express","mysagra","mysql","nextjs","nextjs15","nodejs","shadcn-ui","tailwindcss","turborepo","typescript","webapp","webapplication"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MySagra.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-03T21:25:51.000Z","updated_at":"2025-09-03T21:57:30.000Z","dependencies_parsed_at":"2025-09-03T23:27:40.076Z","dependency_job_id":"758bc7c4-2e33-46ad-9d09-d15d53f10c6b","html_url":"https://github.com/MySagra/mysagra","commit_stats":null,"previous_names":["mysagra/mysagra"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/MySagra/mysagra","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MySagra%2Fmysagra","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MySagra%2Fmysagra/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MySagra%2Fmysagra/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MySagra%2Fmysagra/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MySagra","download_url":"https://codeload.github.com/MySagra/mysagra/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MySagra%2Fmysagra/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273567751,"owners_count":25128635,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-04T02:00:08.968Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["api-rest","express","mysagra","mysql","nextjs","nextjs15","nodejs","shadcn-ui","tailwindcss","turborepo","typescript","webapp","webapplication"],"created_at":"2025-09-04T07:00:54.450Z","updated_at":"2026-05-23T13:03:59.115Z","avatar_url":"https://github.com/MySagra.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"assets/banner.png\" alt=\"Banner\" width=\"100%\" /\u003e\n\u003c/p\u003e\n\n# MySagra – Smart Ordering for Festivals, Fairs, and Local Events\n\n#### **MySagra: The Open-Source Smart Ordering System for Festivals and Community Events**\n\nMySagra is a free and open-source platform designed to revolutionize how you manage orders at your local **festival**, \"sagra,\" food vendor stand, or **community event**. Built with flexibility and transparency in mind, it provides everything you need to switch from outdated paper processes to a modern, efficient, and reliable digital system.\n\n#### **Why Choose MySagra?**\n\nWe focus on delivering key features essential for event organizers and food vendors, ensuring maximum efficiency and data control:\n\n1.  **Smart Order Management:** Implement a complete system for collecting orders directly from tables and at the counter.\n2.  **Automated Kitchen \u0026 Bar Printing:** Orders are automatically split and printed by workstation (kitchen, bar, etc.) to streamline production and reduce errors.\n3.  **Real-Time Performance Dashboard:** Monitor live data on sales, active orders, and overall performance in real time to make immediate, informed decisions.\n4.  **Offline-Friendly PWA:** Reliability is crucial. MySagra works seamlessly even without a stable internet connection, making it perfect for outdoor or temporary venues.\n5.  **Customizable Menu \u0026 Variants:** Easily configure your full menu, including dish variants, allergens, and dynamic pricing.\n6.  **Truly Open Source:** MySagra is released under the Apache-2.0 license. You own your data, have full access to the source code, and are free from vendor lock-in.\n\n👉 Learn more at [mysagra.com](https://mysagra.com)\n\n## Quick Start\n\nDeploy with [Docker Compose](https://docs.docker.com/compose/):\n1. Setup the `env` file following the `.env.example` file\n2. Build and start the containers\n```bash\n    docker-compose up -d\n```\n\n## Development\nThis project uses [pnpm](https://pnpm.io/) as package manager and [TurboRepo](https://turbo.build/repo) as monorepo tool.\n1. Clone the repository\n2. Make sure [pnpm](https://pnpm.io/) is installed globally\n```bash\n    npm install -g pnpm\n```\n3. Then install the dependencies\n```bash\n    pnpm install\n```\n4. Create the `.env` file, for the setup follow the `.env.template` in `apps/backend` and `apps/frontend` folders.\n5. Run the database migrations in the `apps/backend` folder\n```bash\n    pnpm prisma migrate dev\n```\n6. **[Optional] Seed the database with test data:**\n   \n   There are two seed commands available in the `@packages/database` package:\n   \n   - **Complete Test Seed** – Populates the database with all resources (categories, foods, ingredients, users, printers, cash registers, banners, etc.) and generates 500 orders distributed across a 4-hour time window (2 hours before to 2 hours after execution):\n   ```bash\n       cd packages/database\n       pnpm db:seed:test\n   ```\n   \n   - **Orders-Only Seed** – Generates 500 orders using existing foods in the database. Useful if you already have your menu and infrastructure set up:\n   ```bash\n       cd packages/database\n       pnpm db:seed:orders\n   ```\n   \n   Both commands automatically continue from the last generated display code in the database, ensuring no duplicates.\n\n7. Start the development server with the command\n```bash\n    pnpm run dev\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmysagra%2Fmysagra","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmysagra%2Fmysagra","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmysagra%2Fmysagra/lists"}