Solution to the challenge in 5 days in the clouds 2022
Table of Contents
To get a local copy up and running follow these steps.
- Java 17
- PostgreSQL
- NPM
- Angular CLI 14.2.9.
- Docker
Spring Boot application
-
METHOD 1: Running in IDE
Set in
application.yaml
Postgres DBusername
andpassword
and create database namedCryptoExchangeDb
in your local Postgres DBOpen Spring Boot application in your IDE located in
/crypto-exchange/
Execute themain
method in theme.darko.cryptoexchange.CryptoExchangeApplication
class. -
METHOD 2: Running with Docker
From project directory, start up application by running
docker compose up --build
-
Application will be available at
-
Check running application at Swagger UI
Angular application
- Go to directory ./angular-app
cd ./angular-app/
- Install Angular dependencies
npm install
- Run Angular application
npm start
- Open application in browser and navigate http://localhost:4200/