GoLang Currency API is a microservice for getting currency exchange rates. The API returns the value of GBP and USD currency against EUR.
Use the makefile instructions to build a docker image and create a running container ready to serve requests. From the project's root path, run the following commands:
make docker_build_image
make docker_run_container
Or simply run
make all
The API expose one endpoint that accepts a currency parameter
- currency: the currency code to be requested. Only USD and GBP are supported. If no currency is provided, the system uses GBP as default
The API is far from being completed, several items needs to be added:
- Unit Tests, Acceptance Tests
- Support for multiple currencies
- Naive recommendation to exchange money based on the previous week historical data
- CI/CD pipeline 4.1 Download dependencies 4.2 Build code 4.3 Run Tests 4.4 Deploy to environments
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.