{"repo":"rehan-adi/probstreet","free":true,"listed":false,"github":"https://github.com/rehan-adi/probstreet","clone":"git clone https://github.com/rehan-adi/probstreet.git","description":"An opinion trading platform where users can trade on the outcome of future events.","language":"TypeScript","stars":19,"topics":["bun","docker","golang","hono","kafka","postgresql","prisma","redis","trading-platform","trading-systems"],"license":"Apache-2.0","category":"databases-storage","readme_excerpt":"Probstreet: Building a High-Frequency Opinion Trading / Prediction Market Platform from scratch where users can trade on the outcome of future events. \"I wanted to understand how trading systems and low latency systems work under the hood. Not just the APIs, but the deep internal engineering of how they match thousands of orders per second without race conditions ? How do they handle money when every millisecond counts ? This project is a simple, straightforward implementation of those kinds of systems.\" Local Development Setup For detailed instructions on setting up the Probstreet project, starting the services, and managing the database, please refer to our comprehensive Local Development Guide . Quick Start If you have Bun, Go, and Docker installed, you can quickly spin up the backend: (Run make run in services/matching-engine to start the Go engine. You do not need to build it first— go run compiles and executes in one step!) The Architecture: Two Core Journeys When I started designing Probstreet by clonning and revers-engneering it from first principals thiking, I knew a monolithic architecture wouldn't cut it. I needed something that could scale independently and handle the \"thundering herd\" of users during live events. Journey 1: User Onboarding (First Login Flow) The first time a user opens the app, multiple backend systems collaborate to establish their identity and financial state. This flow is designed for speed, safety, and eventual consistency . 1. Phone Authenti","default_branch":null,"files":null,"tree":[],"storefront":"/r/rehan-adi","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/rehan-adi/probstreet/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."}