Giter Site home page Giter Site logo

fast_api_excahnge_app's Introduction

Exchange App

Prerequisites

  1. Docker
  2. make (not mandatory)

Instalation

Once this repository is cloned on your local:

  1. Go to algebraic_expressions directory.
  2. Create .env file with variables that exists in .env_example.
  3. Get your own api key from this source: https://www.alphavantage.co/ and save it as API_ACCESS_KEY in .env
  4. Run: make go to build and start django development server + postgres in containers.
  5. You are ready to go, open browser and go to http://localhost:8000/docs, you will se 3 available endpoints:
    • /exchange-rates/sync - update all echange rates, if you call that endpoint more then 25 times it will start to return 502 error with retry-after header due to the external api limitations
    • /exchange-rates/last-update - get last update datetime
    • /exchange-rates/{from_currency}/{to_currency}?amount=2 - get converted amount given current exchange rate

fast_api_excahnge_app's People

Contributors

georg1703 avatar

Watchers

 avatar

Forkers

polydom-tasks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.