Skip to content

Chromium based web browser for frontend to backend call redirection

Notifications You must be signed in to change notification settings

lucianoaibar/API-Magic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API Magic

API Magic is a Chromium based web browser for frontend to backend call redirection.
Requires Windows 64-bit with .NET Framework 4.7.2 or better.

Download

Latest version 0.901: Download for Windows 64-bit

Use case

Imagine that you made changes to an API microservice and want to test it from the frontend.
So you would need to do the following:

  1. to deploy locally the rest of the microservices
  2. also the frontend

Unfortunately this is not always an option.
For several reasons (i.e. not allowed to clone the required repositories).
But... what if we could reuse an already deployed frontend in another environment like "testing", "integration" or "pre-prod" ?

With API Magic is possible to catch a backend call and redirect it to another destination.

Projects organization

Projects are organized as sub-folders inside Windows "Documents" -> "API Magic" folder.

Documents
 |_ API Magic
     |_ Project 1
     |_ Another project
     |_ ...

Inside each sub-folder, at least 4 files are required:

  • settings.json
  • routes_file.json
  • routes_text.json
  • routes_url.json

Example

When the application is run, the "Documents/API Magic" folder is created and inside there is an example project with name "Demo with ReqRes".