Skip to content

malouu/react-kafka-exchange

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

You need to first have a running kafka cluster with a ‘btc-price’ topic.

  1. First run questDB on docker using

    docker run -p 9000:9000 -p 9009:9009 questdb/questdb
  2. Then run the producer server For the producer you also need to add a .env file containing your CryptoCompare API key as such CC_API_KEY=<YOUR API KEY>

    cd serveur-btc
    pnpm i
    pnpm start
  3. Run the consumer server

    cd consumer
    pnpm i 
    pnpm start
  4. Run the frontend

    cd client
    pnpm i
    pnpm start

Go to http://localhost:5173 . Refreshing the webpage will cause the consumer to break. If this happens re run the consumer and refresh the webpage.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published