{"id":15002681,"url":"https://github.com/divyansh956/nzwalks","last_synced_at":"2026-01-04T13:06:44.403Z","repository":{"id":248909024,"uuid":"829844170","full_name":"divyansh956/NZWalks","owner":"divyansh956","description":"Use C# and Build an ASP.NET Core Web API with Entity Framework Core, SQL Server, Authentication, Authorization | .NET8","archived":false,"fork":false,"pushed_at":"2024-07-21T11:44:47.000Z","size":1040,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-24T20:41:33.332Z","etag":null,"topics":["api","asp-net-core","azure","csharp","entity-framework-core","sqlserver","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/divyansh956.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-07-17T05:39:04.000Z","updated_at":"2024-07-24T09:45:53.000Z","dependencies_parsed_at":"2024-09-28T14:20:37.599Z","dependency_job_id":"9820fdb7-1292-46c9-a753-18f4c9989c55","html_url":"https://github.com/divyansh956/NZWalks","commit_stats":null,"previous_names":["divyansh956/nzwalks"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divyansh956%2FNZWalks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divyansh956%2FNZWalks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divyansh956%2FNZWalks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divyansh956%2FNZWalks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/divyansh956","download_url":"https://codeload.github.com/divyansh956/NZWalks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244266058,"owners_count":20425825,"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","asp-net-core","azure","csharp","entity-framework-core","sqlserver","swagger"],"created_at":"2024-09-24T18:51:52.426Z","updated_at":"2026-01-04T13:06:44.358Z","avatar_url":"https://github.com/divyansh956.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# .NET Core Web API\n\nThis is a .NET Core Web API project for managing walks in New Zealand.\n\n## Table of Contents\n\n- [About](#about)\n- [Getting Started](#getting-started)\n- [Running the Application](#running-the-application)\n- [API Endpoints](#api-endpoints)\n- [Technologies Used](#technologies-used)\n\n## About\n\nThis project is a .NET Core Web API that allows users to manage walks in New Zealand. It supports CRUD operations for regions and walks, providing endpoints to create, read, update, and delete data.\n\n## Getting Started\n\n### Prerequisites\n\n- [.NET Core SDK](https://dotnet.microsoft.com/download)\n- [SQL Server](https://www.microsoft.com/en-us/sql-server/sql-server-downloads)\n\n### Installation\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/divyansh956/NZWalks.git\n   cd NZWalks\n   ```\n\n2. Restore the dependencies and apply database migrations:\n   ```bash\n   dotnet restore\n   dotnet ef database update\n   ```\n\n3. Update the database connection string in `appsettings.json`:\n   ```json\n   {\n     \"ConnectionStrings\": {\n       \"DefaultConnection\": \"Server=your_server;Database=your_database;Trusted_Connection=True;MultipleActiveResultSets=true\"\n     }\n   }\n   ```\n\n## Running the Application\n\nTo run the application locally, execute the following command:\n```bash\ndotnet run\n```\n\n## API Endpoints\n\nHere are some of the main API endpoints:\n\n### Regions\n\n- **GET** /api/regions - Get all regions\n- **GET** /api/regions/{id} - Get a specific region by ID\n- **POST** /api/regions - Create a new region\n- **PUT** /api/regions/{id} - Update an existing region\n- **DELETE** /api/regions/{id} - Delete a region\n\n### Walks\n\n- **GET** /api/walks - Get all walks\n- **GET** /api/walks/{id} - Get a specific walk by ID\n- **POST** /api/walks - Create a new walk\n- **PUT** /api/walks/{id} - Update an existing walk\n- **DELETE** /api/walks/{id} - Delete a walk\n\n### Example Request\n\n```bash\ncurl -X GET \"https://localhost:5001/api/regions\" -H \"accept: text/plain\"\n```\n\n## Technologies Used\n\n- .NET Core\n- Entity Framework Core\n- SQL Server\n- Swagger for API documentation\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdivyansh956%2Fnzwalks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdivyansh956%2Fnzwalks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdivyansh956%2Fnzwalks/lists"}