Skip to content

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoLang Assignment

Requirements

Write a crypto price tracker, a service that calls Coin Desk API fetches data, parses it, and provides the below-defined response to the user. Also, store it in internal memory using a background process.

If data available in memory, is within expiry then return data from memory instead of calling the API. Expiry should be configurable using the environment variable.

Process to follow

  • Create linear ticket in notion if not already created.

  • Daily, add your updates to linear ticket

    • updates
    • todo
    • blocker

    should be separately mentioned on linear ticket before standup.

  • Discuss with the assignment provider, about various approaches.

  • This assignment should be considered as a first actual task.

How to submit assignment?

  • Create private repo in your personal github account.
  • Create develop and master branches.
  • Push your code to develop branch and raise PR to master branch.
  • Invite reviewer to the repo and assign for review.

Expected timeline

1 week

Data Coin Desk API - https://api.coindesk.com/v1/bpi/currentprice.json Expected response structure -

{
    "data": {
        "bitcoin": {
            "EUR": "43,947.8947", 
            "USD": "49,822.2917"
        }
    }
}

Extended Requirements -

  • Support cryptonator API provider.
  • Introduce sql or nosql DB for storing data.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages