A scaffolded Angular 21 application with a PriceService that consumes the real-time stock price stream from price-server.
PriceService.getUpdates() opens a Server-Sent Events connection to http://localhost:3000/prices and exposes the stream as an RxJS Observable<Price[]>. Each emission is an array of { symbol, price } updates that can be subscribed to from any component.
The root App component is a placeholder — the service is the starting point for building out the UI.
The price-server must be running before starting this app:
git clone https://github.com/joocy/price-server.git
cd price-server
pnpm install && pnpm devpnpm installpnpm startOpens at http://localhost:4200.
pnpm build