{"id":21093842,"url":"https://github.com/connor-davis/threereco-wil-api","last_synced_at":"2026-02-11T16:02:30.727Z","repository":{"id":262113119,"uuid":"886234574","full_name":"connor-davis/threereco-wil-api","owner":"connor-davis","description":"3rEco is an application that allows waste collection recycling businesses to manage their collectors, products and collections easily.","archived":false,"fork":false,"pushed_at":"2024-11-12T04:06:52.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-30T21:51:11.973Z","etag":null,"topics":["api-rest","dotnet-core","entityframeworkcore","swagger-ui"],"latest_commit_sha":null,"homepage":"https://3reco.co.za","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/connor-davis.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-11-10T14:52:12.000Z","updated_at":"2024-11-12T04:06:56.000Z","dependencies_parsed_at":"2025-01-21T01:40:34.373Z","dependency_job_id":"cb5ffc7f-ba51-4c32-b86a-b0f14bbb151e","html_url":"https://github.com/connor-davis/threereco-wil-api","commit_stats":null,"previous_names":["connor-davis/threereco-wil-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/connor-davis%2Fthreereco-wil-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/connor-davis%2Fthreereco-wil-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/connor-davis%2Fthreereco-wil-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/connor-davis%2Fthreereco-wil-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/connor-davis","download_url":"https://codeload.github.com/connor-davis/threereco-wil-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252516166,"owners_count":21760741,"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-rest","dotnet-core","entityframeworkcore","swagger-ui"],"created_at":"2024-11-19T22:13:01.060Z","updated_at":"2026-02-11T16:02:30.697Z","avatar_url":"https://github.com/connor-davis.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# 3rEco ASP .NET Core Web API\n\nWelcome to the 3rEco ASP .NET Core Web API! This project has been built with JWT Authentication Logic and CRUD Functionality.\n\n3rEco is an application that allows waste collection recycling businesses to manage their collectors, products and collections easily.\n\n### 🛠️ Technologies Used:\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://skillicons.dev/icons?i=dotnet,visualstudio,git,github,cs,ubuntu,postgresql\" height=\"40\" alt=\"technologies\"  /\u003e\n  \u003cimg width=\"12\" /\u003e\n\u003c/div\u003e\n\nAnd we can't forget about EntityFrameworkCore.\n\n### 🚀 Deployment\n\nThere are some steps involved to get this API up and running and ready to use.\n\n#### ⬇️ 1. Clone This Repository\n\n```bash\ngit clone https://github.com/connor-davis/threereco-wil-api\n```\n\n#### 📦 2. Dependencies\n\n1. This API uses the PostgreSQL Database to store data.\n2. This API uses the .NET 8.0 Runtime with ASP.NET CORE 8.0 Runtime\n\n#### 🧑‍💻 3. Create The Database\n\n```sql\nCREATE DATABASE \"whatyouwanttocallit\";\n```\n\n#### 📐 4. Create The `appsettings.json` File\n\n```json\n{\n  \"Logging\": {\n    \"LogLevel\": {\n      \"Default\": \"Information\",\n      \"Microsoft.AspNetCore\": \"Warning\"\n    }\n  },\n  \"AllowedHosts\": \"*\",\n  \"ConnectionStrings\": {\n    \"PostgresDB\": \"Host=host;Username=username;Password=password;Database=whatyouwanttocallit\"\n  }\n}\n```\n\n#### 🔨 5. Build The Project\n\n```bash\ndotnet build three-api.sln -configuration release\n```\n\nPlease make sure for this step as well as step 4 that you are in the same folder as this project.\n\n#### 🔒 6. Create Your Admin User\n\nNavigate to the applications url and append /swagger to the end. You will see the Swagger UI. Here you can register your admin user.\n\n#### ✏️ 7. Set Your Admin Users Role\n\n```sql\nUPDATE \"Users\" SET \"Roles\" = '{0}' WHERE \"Email\" = 'youradminusersemail';\n```\n\n#### ✅ 7. You Are Done\n\nYou can now use the admin users login details to remain authenticated and begin playing around with the API.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconnor-davis%2Fthreereco-wil-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconnor-davis%2Fthreereco-wil-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconnor-davis%2Fthreereco-wil-api/lists"}