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).
- Host: GitHub
- URL: https://github.com/umarquez/cryptocoins-go-challenge
- Owner: umarquez
- Created: 2025-02-27T05:52:24.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-27T14:02:10.000Z (over 1 year ago)
- Last Synced: 2025-02-27T16:15:07.953Z (over 1 year ago)
- Language: Go
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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