A lightweight fake mock data API written in responder python HTTP service framework.
This application will parse fake (mock) employees JSON data and build an API to work with it. Please follow mock parser api app to see how it looks like.
- travis CI
- pytest framework
- black code formatter
- mypy static typer
- pylint code style
- flake8 code formatter
Please run next commands to start an app:
git clone git@github.com:aiopymake/fake-employee-api.git
pip install -r requirements.txt
python mock_parser_api.py
Please run the following script to tun unit tests:
pytest
In general static code analysis consists of following tools: black
, flake8
, pylint
, mypy
, and unittests
accordingly.
To be able to start static code analysis locally please run following script from the root directory of the project:
./run-code-analysis.sh install-dependencies
Please refer to deployment page to get instructions on how to provision an app.
Author β Volodymyr Yahello.
Distributed under the MIT
license. See license for more information.
You can reach out me at:
- vyahello@gmail.com
- https://twitter.com/vyahello
- https://www.linkedin.com/in/volodymyr-yahello-821746127
I would highly appreciate any contribution and support. If you are interested to add your ideas into project please follow next simple steps:
- Clone the repository
- Configure
git
for the first time after cloning with yourname
andemail
pip install -r requirements.txt
to install all project dependenciespip install -r requirements-dev.txt
to install all development project dependencies- Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request