Tinc is a platform for trading on the Indian stock market that also teaches it: live market data, trading courses, market news, and analytics of stock performance, on the web and on mobile.
The problem
New traders learn in one place, read the news in another, and trade in a third. Tinc combines learning, news, analytics, and live market data in one product, which means a backend that serves real-time prices as reliably as it serves course content.
My role
- Built the backend services and managed the backend development team.
- Defined the features required with management.
- Coordinated between the backend and frontend teams.
- Owned the deployment infrastructure and built the CI/CD pipeline with Terraform on AWS.
Key decisions
- Django for the core. Django and Django Rest Framework for the API, with PostgreSQL as the database.
- Realtime over WebSockets. Live stock market data streams to clients through Django Channels.
- Broker and payments integrations. Zerodha for market access and Razorpay for payments.
- One backend, two clients. React and Redux on the web and Flutter on mobile share the same API.
- Infrastructure as code. Docker and Docker Compose for services, deployed on AWS with Terraform.
Architecture
- API. Django and Django Rest Framework services backed by PostgreSQL.
- Realtime. Django Channels pushing market data over WebSockets.
- Clients. React web app and Flutter mobile app.
- Delivery. Dockerised services on AWS, provisioned and deployed through a Terraform CI/CD pipeline.


Outcome
Tinc is an earlier project and is no longer in development.
Stack
PythonDjangoDjango Rest FrameworkDjango ChannelsPostgreSQLReactReduxFlutterZerodhaRazorpayDockerTerraformAWS
Screens from the Tinc web and mobile apps.