{"id":15080832,"url":"https://github.com/ariantron/task-trip-manager","last_synced_at":"2026-02-20T19:03:50.152Z","repository":{"id":242902445,"uuid":"810892548","full_name":"ariantron/Task-Trip-Manager","owner":"ariantron","description":"Task-Trip Manager is an educational project on the topic of task and trip management, built with PHP/Symfony (Back-End) and Vite/React with TypeScript (Front-End). Users can create trips, assign drivers and trucks, and allocate tasks. The app is containerized with Docker for easy deployment.","archived":false,"fork":false,"pushed_at":"2024-06-18T08:24:59.000Z","size":425,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-22T07:59:42.035Z","etag":null,"topics":["docker","docker-compose","php","postgresql","react","symfony","typescript","vite"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/ariantron.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}},"created_at":"2024-06-05T14:46:22.000Z","updated_at":"2024-06-21T08:34:25.000Z","dependencies_parsed_at":"2024-09-25T05:31:58.885Z","dependency_job_id":"34793c40-b909-43f2-afb4-ee7726495de4","html_url":"https://github.com/ariantron/Task-Trip-Manager","commit_stats":{"total_commits":41,"total_committers":2,"mean_commits":20.5,"dds":0.04878048780487809,"last_synced_commit":"29cf5689f9c88d8c2007d01ea32109dff3ae4a97"},"previous_names":["ariantron/task-trip-manager"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ariantron/Task-Trip-Manager","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ariantron%2FTask-Trip-Manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ariantron%2FTask-Trip-Manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ariantron%2FTask-Trip-Manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ariantron%2FTask-Trip-Manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ariantron","download_url":"https://codeload.github.com/ariantron/Task-Trip-Manager/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ariantron%2FTask-Trip-Manager/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29661585,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-20T16:33:43.953Z","status":"ssl_error","status_checked_at":"2026-02-20T16:33:43.598Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["docker","docker-compose","php","postgresql","react","symfony","typescript","vite"],"created_at":"2024-09-25T05:31:53.807Z","updated_at":"2026-02-20T19:03:50.134Z","avatar_url":"https://github.com/ariantron.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Task-Trip Manager\n\n### Project Overview\nYou are required to build a simple web application using the Symfony framework and React. The application will manage tasks and trips. The main page will have two sections: tasks on the left and trips on the right. Users can create trips, assign a driver and truck to each trip, and allocate tasks to these trips.\n\n### Requirements\n1. **Main Page Layout**\n   - **Left Section (Tasks)**\n     - Display a list of tasks.\n     - Each task can only be added to one trip.\n   - **Right Section (Trips)**\n     - Display tabs on top, one for each trip.\n     - Each tab shows the details of a specific trip including its driver, truck, and assigned tasks.\n     - A \"New\" button allows users to create a new trip.\n     - When creating a trip, users can select a driver and a truck from the existing list.\n\n2. **Database Seeding**\n   - Seed the database with at least:\n     - 50 tasks\n     - 10 drivers\n     - 10 trucks\n\n3. **Functionalities**\n   - Users can create new trips.\n   - Users can assign a driver and a truck to each trip during its creation.\n   - Users can add tasks to trips.\n   - Tasks can only be added to one trip.\n\n4. **Tech Stack**\n   - Backend: PHP, Symfony Framework\n   - Frontend: TypeScript, React.js Library, Vite Build Tool, Redux Toolkit State Management Library\n   - Database: PostgreSQL\n\n### Structure\n#### Frontend:\n- React components for task list, trip details, and trip creation modal.\n- State management for handling tasks and trips.\n\n#### Backend:\n- Symfony controllers manage tasks, trips, drivers, and trucks.\n- Database migrations (Fixtures) and seeders for initial data setup.\n\n### Environment Configuration\nBoth front-end and back-end modules can be configured using `.env` files. Examples of the `.env` files are provided below:\n\n#### Front-end `.env.example`\n```text\nVITE_APP_PORT=\nVITE_API_URL=\"\"\n```\n\n#### Back-end `.env.example`\n```text\nAPP_NAME=\nAPP_PORT=\n\nDB_NAME=\nDB_USER=\nDB_PORT=\nDB_PASSWORD=\nDATABASE_URL=\"postgres://${DB_USER}:${DB_PASSWORD}@postgres:5432/${DB_NAME}\"\n\nCORS_ALLOW_ORIGIN=\"*\"\n```\n\n### Docker Deployment\nBoth modules can be deployed using Docker Compose. Ensure Docker and Docker Compose are installed on your system. Use the following commands to deploy the application:\n\n1. **Build and Start the Containers:**\n   ```sh\n   docker-compose up -d --build\n   ```\n\n2. **Stop the Containers:**\n   ```sh\n   docker-compose stop\n   ```\n\n3. **Stop and Remove the Containers:**\n   ```sh\n   docker-compose down -v\n   ```\n\n### Getting Started\n1. **Clone the Repository:**\n   ```sh\n   git clone \u003crepository_url\u003e\n   cd task-trip-manager\n   ```\n\n2. **Set Up Environment Variables:**\n   - Create a `.env` file in both the `frontend` and `backend` directories by copying from `.env.example` and filling in the necessary values.\n   - The VITE_API_URL parameter refers to the address of the Back-End API Service.\n\n\n3. **Start the Application:**\n   ```sh\n   docker compose up --build\n   ```\n\n4. **Access the Application:**\n   - Frontend: Open your browser and navigate to `http://localhost:\u003cVITE_APP_PORT\u003e`\n   - Backend API: Accessible at `http://localhost:\u003cAPP_PORT\u003e`\n\n### Project Structure\n```\ntask-trip-manager/\n│\n├── front-end/\n│   ├── public/\n│   ├── src/\n│   ├── .env.example\n│   ├── Dockerfile\n│   ├── nginx.conf\n│   ├── docker-compose.yml\n│   └── ...\n│\n├── back-end/\n│   ├── config/\n│   ├── src/\n│   ├── .env.example\n│   ├── Dockerfile\n│   ├── docker-entrypoint.sh\n│   ├── docker-compose.yml\n│   └── ...\n│\n└── README.md\n```\n\n### Screenshot\n![Visual Layout (Mockup)](./assets/images/screenshot.png)\n\n### Contributing\nContributions are welcome! Please fork the repository and create a pull request with your changes.\n\n### License\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%2Fariantron%2Ftask-trip-manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fariantron%2Ftask-trip-manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fariantron%2Ftask-trip-manager/lists"}