You need to have docker and docker-compose installed on your machine.
- Clone this repo.
- Clone https://github.com/krsmll/currency-exchange.
- Create this file in the same directory you cloned these repos to.
version: '3.8'
services:
backend:
build: ./currency-exchange/services/exchange
ports:
- "8080:8080"
frontend:
build: ./currency-exchange-angular
ports:
- "4200:4200"
- Run
docker-compose up
That's it. Backend is running on port 8080 and frontend on port 4200.
Access them at http://localhost:8080
and http://localhost:4200
respectively.
Swagger is available at /api/v1/swagger-ui/index.html
You need to have maven installed on your machine.
mvn clean test
or
mvn test
- Add more tests
- Add logging
- Use Kubernetes, Helm for deployment but it's an overkill for a project of this size