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.
- Docker
- Docker-compose
- Clone the repository
git clone [email protected]:thiagonf/Loki.git
- Run the project
docker-compose up
- Access the Swagger documentation
http://localhost:81/
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.