Skip to content
PorcelainzPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

25 Commits

Folders and files

Repository files navigation

NZWalks ASP.NET Web API

This project is a RESTful API built using ASP.NET Web API framework, providing endpoints to access information about walks and trails in New Zealand.

Technologies Used

  • ASP.NET Web API: The primary framework for building HTTP services that provide endpoints for interacting with walk and trail data.
  • Microsoft SQL Server (MSSQL): A relational database management system used to store and manage information about walks and trails.
  • Entity Framework Core (EF Core): An object-relational mapper used for data access and manipulation within the application. EF Core enables .NET developers to work with databases using .NET objects.
  • JWT (JSON Web Tokens): JWT is used for authentication and authorization purposes. It allows secure transmission of claims between parties using a compact and self-contained JSON object.
  • ASP.NET Identity: ASP.NET Identity is used for managing user authentication and authorization. It provides features such as user registration, login, and role-based access control.
  • Swagger: Swagger is used to document the Web API endpoints. It provides a user-friendly interface for developers to explore and test the API's functionality.

Endpoints

The API provides the following endpoints:

Auth

  • /api/Auth/Register: Allows users to create a new account by providing their registration information.
  • /api/Auth/Login: Allows registered users to log in and obtain a JWT token for accessing protected endpoints.

Images

  • /api/Images/Upload: Allows users to upload image.

Regions

  • /api/Regions: Create and Read operation for regions.
  • /api/Regions/{id}: Read, Update, Delete operation for region by id.

Walks

  • POST: /api/Walks: Create new walks.
  • GET: /api/Walks: Read walks and also you can filter, sort and paging.
  • /api/Walks/{id}: Read, Update, Delete operation for walks by id.

Screenshots

Login

image image

Regions

image image

Walks

image image

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages