Skip to content

a repository for stock OHLC (Open, High, Low, Close) using grpc, redis, kafka and golang programming language

License

Notifications You must be signed in to change notification settings

MicBun/go-grpc-redis-kafka-stockohlc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-grpc-redis-kafka-stockohlc

a repository for stock OHLC (Open, High, Low, Close) using grpc, redis, kafka and golang programming language

Prerequisite

  • docker
  • docker-compose
  • golang

How to run

The simplest way to run this project is using docker-compose. You can run this project by executing this command:

docker-compose up

You can also rebuild the image by executing this command:

docker-compose up --build

To get a stock summary, you can visit this url on your browser or by using postman:

http://localhost:8080/stock/{stock_symbol}

replace {stock_symbol} with the stock symbol you want to get the summary. For example, if you want to get the summary of BBRI stock, you can visit this url:

http://localhost:8080/stock/BBRI

How to test

You can test this project by executing this command:

  1. Test server
cd server/
sh ./scripts/coverage.sh
  1. Test client
cd client/
sh ./scripts/coverage.sh

Data Flow

Data flow diagram for this project can be seen on file named data-flow-diagram.png

Credits

Made with ❤️ by Michael Buntarman
Visit my LinkedIn at Michael Buntarman
Visit my GitHub at MicBun

About

a repository for stock OHLC (Open, High, Low, Close) using grpc, redis, kafka and golang programming language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published