Skip to content

AmirMeiry/PandoAPI

Repository files navigation

PandoAPI

Project Image

.NET Core API using Swagger UI


Table of Contents


Description

.NET Core API that uses Swagger UI and SQLite DB to get data and transfer it using HTTP requests

Packages

Package NuGet Link Version
Microsoft.AspNetCore.Cors @nuget/packages/Microsoft.AspNetCore.Cors version
Microsoft.EntityFrameworkCore.Sqlite @nuget/packages/Microsoft.EntityFrameworkCore.Sqlite version
Swashbuckle.AspNetCore @nuget/packages/Swashbuckle.AspNetCore version

Technologies

  • .NET Core API
  • Swagger UI
  • SQLite

Back To The Top


How To Use

Fast Installation

git clone the repo using

git clone https://github.com/AmirMeiry/PandoAPI.git

If the next terms are met, the code will run without problems:

  • NET 5.0 installed (Required)
  • Windows OS

If you are using other OS you will probably have to download the latest Visual Studio 2019.

if you got the following error

A path base can only be configured using IApplicationBuilder.UsePathBase().

Comment out the following code in the file Program.cs

webBuilder.UseUrls("...");

NuGet Installation

Microsoft.AspNetCore.Cors installation

    # NuGet Package Manager UI

    Microsoft.AspNetCore.Cors

    # Package Manager Console

    Install-Package Microsoft.AspNetCore.Cors -Version 2.2.0

Microsoft.EntityFrameworkCore.Sqlite installation

    # NuGet Package Manager UI

    Microsoft.EntityFrameworkCore.Sqlite

    # Package Manager Console

    Install-Package Microsoft.EntityFrameworkCore.Sqlite -Version 5.0.9

Swashbuckle.AspNetCore installation

    # NuGet Package Manager UI

    Swashbuckle.AspNetCore

    # Package Manager Console

    Install-Package Swashbuckle.AspNetCore -Version 5.6.2

Back To The Top


Author Info

Back To The Top

Releases

No releases published

Packages

No packages published

Languages