a repository for stock OHLC (Open, High, Low, Close) using grpc, redis, kafka and golang programming language
- docker
- docker-compose
- golang
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
You can test this project by executing this command:
- Test server
cd server/
sh ./scripts/coverage.sh
- Test client
cd client/
sh ./scripts/coverage.sh
Data flow diagram for this project can be seen on file named data-flow-diagram.png
Made with ❤️ by Michael Buntarman
Visit my LinkedIn at Michael Buntarman
Visit my GitHub at MicBun