{"id":28379448,"url":"https://github.com/alexmllo/simulator-tool","last_synced_at":"2026-05-09T10:23:54.127Z","repository":{"id":289708965,"uuid":"972132276","full_name":"alexmllo/simulator-tool","owner":"alexmllo","description":"A production simulation and management system that helps businesses model, analyze, and optimize their production processes","archived":false,"fork":false,"pushed_at":"2025-05-20T21:16:54.000Z","size":519,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-30T02:44:40.082Z","etag":null,"topics":["angular","docker-compose","python3","typescript"],"latest_commit_sha":null,"homepage":"","language":"Python","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/alexmllo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2025-04-24T15:27:53.000Z","updated_at":"2025-05-20T21:17:20.000Z","dependencies_parsed_at":"2025-05-18T18:47:42.989Z","dependency_job_id":null,"html_url":"https://github.com/alexmllo/simulator-tool","commit_stats":null,"previous_names":["alexmllo/simulator-tool"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alexmllo/simulator-tool","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexmllo%2Fsimulator-tool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexmllo%2Fsimulator-tool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexmllo%2Fsimulator-tool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexmllo%2Fsimulator-tool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexmllo","download_url":"https://codeload.github.com/alexmllo/simulator-tool/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexmllo%2Fsimulator-tool/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261461916,"owners_count":23161853,"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","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":["angular","docker-compose","python3","typescript"],"created_at":"2025-05-30T02:38:24.857Z","updated_at":"2026-05-09T10:23:54.120Z","avatar_url":"https://github.com/alexmllo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Production Simulator\n\nA comprehensive production simulation and management system that helps businesses model, analyze, and optimize their production processes. This tool simulates daily production operations, inventory management, and order fulfillment in a controlled environment.\n\n## Table of Contents\n\n- [Features](#-features)\n- [Architecture](#️-architecture)\n- [Prerequisites](#-prerequisites)\n- [Getting Started](#-getting-started)\n  - [Using Docker (Recommended)](#using-docker-recommended)\n  - [Manual Setup (Alternative)](#manual-setup-alternative)\n    - [Backend Setup](#backend-setup)\n    - [Frontend Setup](#frontend-setup)\n- [Usage](#-usage)\n- [Important Notes](#️-important-notes)\n- [Contributing](#-contributing)\n- [License](#-license)\n\n\n## Features\n\n- **Daily Production Simulation**: Simulate production processes day by day\n- **Inventory Management**: Track and manage raw materials and finished products\n- **Order Management**: Handle production orders and purchase orders\n- **Real-time Event Tracking**: Monitor production events and system status\n- **Interactive Dashboard**: Visualize production metrics and system state\n- **Historical Analysis**: Review past production events and performance\n\n## Architecture\n\nThe application is built with a modern tech stack:\n\n- **Backend**: Python with FastAPI\n- **Frontend**: Angular 19\n- **Database**: SQLAlchemy ORM\n- **Simulation Engine**: SimPy for discrete event simulation\n\n## Prerequisites\n\n- Docker\n- Docker Compose\n\n## Getting Started\n\n### Using Docker (Recommended)\n\n1. Clone the repository:\n   ```bash\n   git clone \u003crepository-url\u003e\n   cd simulator-tool\n   ```\n\n2. Build and start the containers:\n   ```bash\n   docker-compose up --build\n   ```\n\n3. Access the application:\n   - Frontend: http://localhost:4200\n   - Backend API: http://localhost:8080\n\n### Manual Setup (Alternative)\n\nIf you prefer to run the application without Docker:\n\n#### Prerequisites\n\n- Python 3.10 or higher\n- Node.js 18 or higher\n- npm\n- Angular CLI (`npm install -g @angular/cli`)\n\n#### Backend Setup\n\n1. Navigate to the backend directory:\n   ```bash\n   cd app\n   ```\n\n2. Install Python dependencies:\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n3. Start the backend server:\n   ```bash\n   python app.py\n   ```\n   The backend will be available at: http://localhost:8000\n\n#### Frontend Setup\n\n1. Navigate to the frontend directory:\n   ```bash\n   cd frontend\n   ```\n\n2. Install Node.js dependencies:\n   ```bash\n   npm install\n   ```\n\n3. Start the development server:\n   ```bash\n   ng serve\n   ```\n   The application will be available at: http://localhost:4200\n\n## 📊 Usage\n\n1. Access the application through your web browser at http://localhost:4200\n2. Use the simulator interface to:\n   - View the current simulation day\n   - Advance the simulation day by day\n   - Monitor production events\n   - Track inventory levels\n   - Manage production orders\n   - View historical data\n\n## ⚠️ Important Notes\n\n- The application uses Docker volumes to persist the database data\n- The frontend is configured to communicate with the backend through Docker's internal network\n- If you need to change the backend URL, update the `serverUrl` variable in the Angular service\n\n## 🤝 Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## 📝 License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexmllo%2Fsimulator-tool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexmllo%2Fsimulator-tool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexmllo%2Fsimulator-tool/lists"}