An open API service indexing awesome lists of open source software.

https://github.com/umarquez/cryptocoins-go-challenge

Solution implemented by @umarquez (see README for additional details).
https://github.com/umarquez/cryptocoins-go-challenge

Last synced: over 1 year ago
JSON representation

Solution implemented by @umarquez (see README for additional details).

Awesome Lists containing this project

README

          

# Cryptocoins Go challenge

## Requirements:

#### Layout

```json
[
{
"id": 1,
"component": "crypto_btc",
"model": {}
},
{
"id": 2,
"component": "crypto_eth",
"model": {}
},
{
"id": 3,
"component": "crypto_xrp",
"model": {}
}
]
```

#### Model

```json
{
"date": "2025-02-26T17:00:00",
"name": "Bitcoin",
"ticker_symbol": "BTC",
"price": {
"usd": 123.456,
"mxn": 123.456
}
}
```

### ACs

#### API
- design the endpoint
- simulate provider to obtain the JSON with the configuration of the components
- implement provider to obtain the values of the cryptocurrencies
- coinmarketcap
- coinbase
- coingecko
- whichever is available and free
- obtain the values of the cryptocurrencies concurrently and deposit the values in their respective model
- use best practices and known conventions