Skip to content

Currency Converter API - A REST API for convert currencies.

Notifications You must be signed in to change notification settings

JnCM/currcon-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Currency Converter API

This project contains a Python project for convert currencies. This version uses Django and Django REST Framework for API architecture and BeautifulSoup to scraping the Google Finance website in search of currencies quotes.


Versions used

  • Linux Ubuntu 22.04.1 LTS;
  • Docker 20.10.23+;
  • Python 3.10.6+;
  • Pip 22.0.2+;

Usage

This version doesn't need previous configuration, you just need build the docker image and run a container. To build the docker image, type the following command on the same folder as Dockerfile:

docker build -t currapi-docker .

After this, to start the image inside a container, type the command:

docker run -p 8000:8000 --name api-server currapi-docker

The project will be running on http://127.0.0.1:8000 .

Obs.: Depending of your docker installation and configuration, all commands will need the sudo flag.


Documentation

Go to Swagger or Redoc documentation while the project running for more infos and examples of API usage.


References

About

Currency Converter API - A REST API for convert currencies.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published