Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 1.39 KB

README.md

File metadata and controls

39 lines (28 loc) · 1.39 KB

FakeIt_logo

FakeIt

A simple application to host your fake API simulate HTTP response. The application is build to keep the usecase simple but efficient.

Teach Stack :

ASP.NET Core 8 to run the backend service.

CosmosDB is to store the API setup.

Setup guideline :

  1. Host the application whereever you want ;) . Preferably in azure ! best choice is App Service. Sinple.

  2. Configure CosmosDB NoSQL container.

    I. Create CosmosDB NoSQL Instance

    II. Create database "fakeit-store"

    III. Create container "api-master"

       => Set partition key as "/project_name".
       => Set unique key by combining "/url" and "/http_methode".

Here is an example from my setup !

FakeIt-easy_Cosmos

  1. Set the Cosmos connection string in appsettings. Keep the DatabaseId as it is.

    "CosmosDb": {
     "ConnectionString": "",
     "DatabaseId": "fakeit-store"
    }
    
  2. Browser www.yourhost.com/swagger and have fun !

FakeIteasy_swagar