Skip to content

piotrSrednicki/chessRestApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to run the application:

  • 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/

Routes:

Additions:

  • 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors