Simple project to load and serve mock JSON responses, with status code, and verb discrimination.
This repository provides a fixture of common use HTTP Verbs and Headers to get started with simple mocks.
To load it run python manage.py loaddata initial.json
The docker-compose.yml service file already provides the working environment for the mock server to work. Simply run docker-compose up
, and access the application from localhost:8000
, or adjust the port and domain as you see fit.
This repository provides a Dockerfile to build an image of the server. A docker build .
should suffice.
The requirements file provides all the system dependencies, plus gunicorn to run in production mode.