exchange-rate-service

module
v0.0.0-...-c53f600 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2024 License: MIT

README

Exchange Rate Service

This project was developed as the second stage of selection for Genesis & KMA SOFTWARE ENGINEERING SCHOOL 4.0

Service that provides USD to UAH exchange rate and notifies users daily about the rate changes.

Installing

  1. Clone the repository
git clone https://github.com/Fybex/exchange-rate-service.git
  1. Navigate to the project directory
cd exchange-rate-service
  1. Copy and edit .env.example to .env, setting actual values for the SMTP server, and database credentials.
cp .env.example .env
  1. Run docker compose
docker-compose up -d

The service will be available at http://localhost:8000

API Endpoints

pkg/api/swagger.yaml contains the API documentation.

Running unit tests

docker-compose exec -it web go test ./... -v

Directories

Path Synopsis
cmd
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL