youssefelmasry / currency_exchange

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

steps to run the app

  1. clone the project on your machine
  2. install docker
  3. run: docker-compose up -d --build
    • To show containers logs docker-compose logs -f
  4. open the browser or postman and go for (http://localhost:8000/rate/)

for testing coverage

  1. install virtualenv and make a one with python 3
  2. run: pip install -r requirements.txt
  3. run: coverage run manage.py test
  4. run: coverage report (will generate a report on terminal)
    • or coverage html (that will generate a directory of coverage report that can be accessible through browser, just go to the coverage directory generated and open index.html)

Theoretical Answers:

  1. Depends on couple of factors by the following order:
    • popularity
    • latest commit
    • simplicity

About


Languages

Language:Python 94.0%Language:Dockerfile 3.7%Language:Shell 2.3%