{"repo":"samueltuoyo15/Live-Stock-Grpc","free":true,"listed":false,"github":"https://github.com/samueltuoyo15/Live-Stock-Grpc","clone":"git clone https://github.com/samueltuoyo15/Live-Stock-Grpc.git","description":"Live Stock Tracker - service for simulating real time live stock price queries, instant updates, historical data, and interactive stock chats and streaming using Grpc","language":"TypeScript","stars":23,"topics":["grpc","trading"],"license":null,"category":"trading","readme_excerpt":"Real-time Stock Data gRPC Service 📈 This project showcases a robust and scalable real-time stock data service built with Go and gRPC. It's designed to demonstrate various gRPC communication patterns, including Unary, Server Streaming, Client Streaming, and Bidirectional Streaming, providing a comprehensive example of building high-performance, resilient microservices. Integrated with the Alpha Vantage API, it offers up-to-the-minute stock price information and simulated historical data processing. Installation Getting this project up and running locally is straightforward. Just follow these steps: Clone the Repository First, grab the source code from GitHub: Generate Protocol Buffer Code The gRPC service definitions in proto/stock.proto need to be compiled into Go code. A handy Makefile rule takes care of this: This command generates the necessary Go client and server stubs in proto/generated/stockpb . Configure Alpha Vantage API Key This service integrates with the Alpha Vantage API to fetch real-time stock prices. You'll need an API key: Go to Alpha Vantage and sign up for a free API key. Create a .env file in the project's root directory ( Live-Stock-Grpc/ ) and add your API key: Install Dependencies Ensure all Go dependencies are installed: Usage Once set up, you can run the server and then the client to see the gRPC communication patterns in action. Start the gRPC Server Open your terminal in the project root and start the server: You should see output indicating the se","default_branch":null,"files":null,"tree":[],"storefront":"/r/samueltuoyo15","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/samueltuoyo15/Live-Stock-Grpc/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}