/inventory-api

.Net Core App 3.1 Web API using EF and Swagger 3.0.1

Primary LanguageC#

InventoryAPI [CRUD Restful using ASP.Net Core 3.1 with JWT Authorization]

This repository contains the inventory management REST service, built with ASP.NET Core 3.1 and Entity Framework 3.1 to illustrate creating REST API to performing CRUD actions and, how to create JWT token and secure API. Please remember this API using sql server database if you want to use another database such as maria db or sqlite you need to configure it as well, thanks.

Prerequisites

  • Visual Studio 2019
  • ASP.NET Core 3.1
  • SQL Server 2019
  • Postman

How to run the project

  • Checkout this project to a location in your disk.
  • Open the solution file using the Visual Studio 2019.
  • Restore the NuGet packages by rebuilding the solution.
  • Change the connection string in the appsettings.json file that points to your SQL Server
  • Run the project.

How to Run using SWAGGER-UI