Skip to content

wchtommy20013/code-test-cryptoator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup

  1. Docker
    docker-compose up
    
  2. Bash
    cd ./client && npm run start
    cd ./server && npm run start
    

How to use the API

curl localhost:4000/ticker
ab -n 1000 -c 100 localhost:4000/ticker

Things to improve:

  • Build a shared npm module for data types (e.g. CurrencyType, CurrencyInformation, GetCurrencyPriceResponse)
  • Use redis as cache instead of in-memory node-cache
  • Create a seperated CDN project and a load balancer for fetch time optimization & minimize API calls to Cryptonator if we need multiple nodes

About

Cryptoator code test - solution

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published