Skip to content
/ Loki Public

Fake services that may have processing in your response

License

Notifications You must be signed in to change notification settings

thiagonf/Loki

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Loki - Fake services - "I know what this place is. It's an illusion."

Simulate your services

You know when you have no way out to solve a problem, one of the best things you can use is magic! When you need several services communicating to be able to test a feature, it can be quite complex to prepare all the necessary infrastructure. Another problem is when services that are available in staging and devint environments do not have cohesive data. There is nothing better than asking the God of lies Loki for help and creating a great illusion between the services in a local and simple way.

Requirements

  • Docker
  • Docker-compose

How to use

  1. Clone the repository
git clone [email protected]:thiagonf/Loki.git
  1. Run the project
docker-compose up
  1. Access the Swagger documentation
http://localhost:81/

Examples

This project has an example endpoint that returns a fake user and leaves the user's uuid dynamic, always returning the uuid that comes in the request. To add more fake endpoints it is only necessary to add a new method in main.py and create JSON response in jsons folder.

About

Fake services that may have processing in your response

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published