This is a python application (Provider) for explanation of Contract Testing based on Pact.
docker >= 20.10.5docker-compose >= 1.28.5
Run the stack via docker-compose
docker-compose --build
docker-compose up -dThis is a sample Flask application that expose endpoints with REST standard.
| endpoint | method | payload | description |
|---|---|---|---|
| /user | GET |
show all users | |
| /user | POST |
{'name','description'} |
create user |
| /user/:id | GET |
show user with :id | |
| /user/:id | DELETE |
delete user with :id |