-
Docker:
- open cmd and go to the project directory
- execute "docker image build -t chess-moves-api ." in command line
- execute "docker run -d -p 5000:5000 chess-moves-api"
- visit http://127.0.0.1:5000/
-
Without Docker:
- open cmd and go to the project directory
- execute "pip install -r requirements.txt"
- execute "./app.py"
- visit http://localhost:5000/
- http://localhost:5000/api/v1/{chess-figure}/{current-field}
- http://localhost:5000/api/v1/{chess-figure}/{current-field}/{dest-field}
- The application is dockerized
- Multiple tests located in the tests folder were created (for testing classes as well as endpoints)
- test_models file is tested by using command pytest
- test_requests file is tested by running the file as it uses unittest
- Static Typing was used
- Code was formatted using black and tested with flake8