{"id":15002388,"url":"https://github.com/sidavd/farmmanagementsystem","last_synced_at":"2026-02-17T11:33:36.729Z","repository":{"id":256188769,"uuid":"853743268","full_name":"SidAvd/FarmManagementSystem","owner":"SidAvd","description":"A .NET 8 web API designed to help manage farm operations, including crop management, harvest tracking, worker assignments, and field management. It offers full CRUD functionality and uses Entity Framework Core for database operations with SQL Server. API documentation and testing are available through Swagger.","archived":false,"fork":false,"pushed_at":"2025-02-05T08:56:02.000Z","size":147,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-06T22:13:32.542Z","etag":null,"topics":["api-development","aspnetcore","dotnet-core","entity-framework-core","sql-server","swagger"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SidAvd.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}},"created_at":"2024-09-07T12:13:50.000Z","updated_at":"2025-02-05T08:56:06.000Z","dependencies_parsed_at":"2024-09-09T13:51:24.254Z","dependency_job_id":"911c461c-0fa0-4484-a131-2340a87ff087","html_url":"https://github.com/SidAvd/FarmManagementSystem","commit_stats":{"total_commits":25,"total_committers":2,"mean_commits":12.5,"dds":"0.19999999999999996","last_synced_commit":"2dcd3d75447d8512aa4d22113b53891858cbe542"},"previous_names":["sidavd/farmmanagementsystem"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SidAvd%2FFarmManagementSystem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SidAvd%2FFarmManagementSystem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SidAvd%2FFarmManagementSystem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SidAvd%2FFarmManagementSystem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SidAvd","download_url":"https://codeload.github.com/SidAvd/FarmManagementSystem/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252776600,"owners_count":21802469,"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":["api-development","aspnetcore","dotnet-core","entity-framework-core","sql-server","swagger"],"created_at":"2024-09-24T18:49:57.767Z","updated_at":"2026-02-17T11:33:36.661Z","avatar_url":"https://github.com/SidAvd.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Farm Management System\nThe Farm Management System is a web API designed to streamline and manage the various aspects of a farming operation. Built with .NET 8, the system allows you to manage crops, fields, harvests, worker assignments, and workers through a simple API, making it easier to automate and track the farm's day-to-day activities.\n\n![database 1](\u003cFarmManagementSystem/Images/DB_diagram_1.png\u003e)\n\n## Features\n•\tManage crops and fields\n\n•\tRecord and track harvest data\n\n•\tAssign workers to specific fields and tasks\n\n•\tManage worker information and assignments\n\n•\tREST API endpoints with full CRUD functionality\n\n•\tUse of Swagger for API documentation and testing\n\n\n\n## Technologies Used\n•\t.NET 8: The main framework for building the API.\n\n•\tEntity Framework Core: To handle database interactions using a code-first approach.\n\n•\tSQL Server: The database system for storing farm management data.\n\n•\tSwagger: For API documentation and testing.\n\n\n## Setup Instructions\nPrerequisites:\n\n•\tVisual Studio (with .NET 8 SDK or later)\n\n•\tSQL Server (installed locally or accessible remotely)\n\n\nSteps to Set Up\n\n1. Download the Project:\n   * Go to the repository's GitHub page.\n   * Click the green Code button, then select Download ZIP.\n   *  Extract the ZIP file to a folder on your local machine.\n\n2. Open the Project in Visual Studio:\n   * Launch Visual Studio. Click on File \u003e Open \u003e Project/Solution.\n   * Navigate to the folder where you extracted the ZIP file.\n   * Open the FarmManagementSystem.sln file located in the root directory.\n\n3. Set Up the Database Connection String:\n   * In Visual Studio, open the appsettings.json file.\n   * Update the connection string with your local or remote SQL Server instance.\n      Example:\n      ```json\n     \n     ```\n      Note: Ensure that your SQL Server instance is running and that you have created the FarmDb database if needed.\n\n4. Apply Migrations:\n   * Open Package Manager Console in Visual Studio (Tools \u003e NuGet Package Manager \u003e Package Manager Console).\n   * Run the following command to apply the database migrations: Update-Database\n\n\n## Test the Project\n\n1. Run the Project:\n   * Press F5 or click the Run button in Visual Studio to build and run the project.\n   * The API will start, and Visual Studio will open a browser window with the Swagger UI.\n\n2. Test the API with Swagger:\n   * Once the project is running, Swagger should automatically open in your default browser, where you can test the API endpoints. Swagger provides interactive documentation, allowing you to test each endpoint directly in the browser.\n\n\n\n![swagger 1](\u003cFarmManagementSystem/Images/Swagger_1.png\u003e)\n\n![swagger 2](\u003cFarmManagementSystem/Images/Swagger_2.png\u003e)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsidavd%2Ffarmmanagementsystem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsidavd%2Ffarmmanagementsystem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsidavd%2Ffarmmanagementsystem/lists"}