{"id":21500154,"url":"https://github.com/furkanbaran/towfinder","last_synced_at":"2026-02-27T15:41:48.173Z","repository":{"id":242345855,"uuid":"809322450","full_name":"FurkanBaran/TowFinder","owner":"FurkanBaran","description":"TowFinder is a C# project designed to help users find nearby tow operators based on city and district selection. The project utilizes ASP.NET Core 8.0 and Entity Framework Core for a robust and scalable application. The application follows the MVC (Model-View-Controller) pattern to separate concerns and ensure a modular and maintainable codebase.","archived":false,"fork":false,"pushed_at":"2024-11-23T15:24:53.000Z","size":1317,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-09T11:49:58.244Z","etag":null,"topics":["asp-net-core-8","booking-system","csharp","html-css-javascript","mvc"],"latest_commit_sha":null,"homepage":"https://towfinder.furkanbaran.com/","language":"C#","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/FurkanBaran.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-02T11:16:56.000Z","updated_at":"2024-12-26T08:17:34.000Z","dependencies_parsed_at":"2024-07-10T19:47:28.324Z","dependency_job_id":"4866af85-0bf5-4ddd-aed9-853ca7608cdc","html_url":"https://github.com/FurkanBaran/TowFinder","commit_stats":null,"previous_names":["furkanbaran/towfinder"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/FurkanBaran/TowFinder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FurkanBaran%2FTowFinder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FurkanBaran%2FTowFinder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FurkanBaran%2FTowFinder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FurkanBaran%2FTowFinder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FurkanBaran","download_url":"https://codeload.github.com/FurkanBaran/TowFinder/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FurkanBaran%2FTowFinder/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263250601,"owners_count":23437288,"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":["asp-net-core-8","booking-system","csharp","html-css-javascript","mvc"],"created_at":"2024-11-23T17:21:57.106Z","updated_at":"2026-02-27T15:41:48.116Z","avatar_url":"https://github.com/FurkanBaran.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# TowFinder\n\nTowFinder is a C# project designed to help users find nearby tow operators based on city and district selection. The project utilizes ASP.NET Core 8.0 and Entity Framework Core for a robust and scalable application. The application follows the MVC (Model-View-Controller) pattern to separate concerns and ensure a modular and maintainable codebase. This README provides a comprehensive guide to set up and run the project.\n\n## Project Overview\n\nThis project was developed as my first C# project, aiming to meet the specific requirements and features requested. Technologies and methodologies were chosen to ensure scalability, maintainability, and ease of deployment.\n\n## Technologies Used\n\n- **ASP.NET Core 8.0**: The primary framework for building the web application.\n- **Entity Framework Core**: Used for database operations and management.\n- **Bootstrap 5**: For responsive and modern UI design.\n- **MySQL**: The relational database management system used to store data.\n\n## Features\n\n- **User-friendly Interface**: Select city and district to find nearby tow operators.\n- **Admin Panel**: Admins can approve or reject tow operator registrations.\n- **Tow Operator Registration**: Tow operators can register and manage their profiles.\n- **Authentication and Authorization**: Secure login for admins and tow operators.\n- **Dynamic Content Loading**: Use of AJAX to dynamically load districts based on city selection.\n\n## Run Locally with Docker Compose\nBuild and launch TowFinder in a local environment using Docker Compose.\n\n```bash\ngit clone https://github.com/furkanbaran/TowFinder.git\ncd TowFinder\ndocker compose up -d\n```\nOnce the services are up, visit the application in your browser at: http://localhost:8080/\n\n\n## Setup and Installation\n\nFollow these steps to set up and run the project on your local machine.\n\n### Prerequisites\n\n- .NET 8.0 SDK\n- Visual Studio 2022 (or later)\n- MySQL Server\n\n### Clone the Repository\n\n```bash\ngit clone https://github.com/furkanbaran/TowFinder.git\ncd TowFinder\n```\n\n### Configuration\n\n1. **Database Configuration**: Update the `appsettings.json` file with your MySQL database connection details.\n\n   ```json\n   {\n     \"ConnectionStrings\": {\n       \"DefaultConnection\": \"Server=YOUR_SERVER;Database=YOUR_DATABASE;User=YOUR_USERNAME;Password=YOUR_PASSWORD;\"\n     },\n     \"Logging\": {\n       \"LogLevel\": {\n         \"Default\": \"Information\",\n         \"Microsoft\": \"Warning\",\n         \"Microsoft.Hosting.Lifetime\": \"Information\"\n       }\n     }\n   }\n   ```\n2. **Default Admin User**\n\n      A default admin user is provided for initial setup and testing purposes. The credentials are as follows:\n\n      - **Username**: admin\n      - **Password**: Admin123!\n\n      in [program.cs](program.cs)\n      \n      It is highly recommended to change the default admin password after the first login to ensure security.\n\n3. **Environment Variables**: Alternatively, you can set up environment variables for sensitive data.\n\n### Restore Dependencies\n\nRestore the project dependencies using the .NET CLI.\n\n```bash\ndotnet restore\n```\n\n### Apply Migrations\n\nApply the database migrations to set up the database schema.\n\n```bash\ndotnet ef database update\n```\n\n### Run the Application\n\nRun the application using the .NET CLI.\n\n```bash\ndotnet run\n```\n\nOpen your browser and navigate to `http://localhost:5000` to see the application in action.\n\n### Project Structure\n\n- **Controllers**: Handle incoming requests and return responses.\n- **Models**: Represent the data and business logic.\n- **Views**: Define the UI elements and layout.\n- **ViewModels**: Transfer data between controllers and views.\n- **wwwroot**: Static files such as CSS, JavaScript, and images.\n- **Migrations**: Database migration files generated by Entity Framework Core.\n- **Data**: Contains the application's DbContext and configuration for Entity Framework Core.\n- **Entity**: Defines the application's data models and entity configurations.\n\n## Deployed on AWS EC2 Ubuntu 22.04:\n[https://towfinder.furkanbaran.com/](https://towfinder.furkanbaran.com/)\n## Screenshots\n\n![Ekran görüntüsü 2024-06-02 190652](https://github.com/FurkanBaran/TowFinder/assets/21145014/57d12f29-b3ba-4779-bb60-bd49a69a3708)\n![Ekran görüntüsü 2024-06-02 190718](https://github.com/FurkanBaran/TowFinder/assets/21145014/b002b03b-f9ee-4ede-a2e7-8c2c5c20e802)\n![Ekran görüntüsü 2024-06-02 190835](https://github.com/FurkanBaran/TowFinder/assets/21145014/3076dc65-0bc8-4d72-9b51-9a4b0d0a8b4d)\n![Ekran görüntüsü 2024-06-02 190823](https://github.com/FurkanBaran/TowFinder/assets/21145014/07c5e360-650c-4ca9-8ebc-41acf46fe116)\n\n## Contribution\n\nContributions are welcome! If you have any ideas, suggestions, or issues, please open an issue or submit a pull request.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n## Acknowledgements\n\n- This project was developed as my first C# project, showcasing the learning and implementation of ASP.NET Core and Entity Framework Core. It may contain errors and is not recommended for use in production environments.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffurkanbaran%2Ftowfinder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffurkanbaran%2Ftowfinder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffurkanbaran%2Ftowfinder/lists"}