A real-time chat application for people who connect over shared goals — career switchers, interview preppers, learners, and builders.
Built with Angular and Spring Boot, powered by WebSockets and Kafka, with AI-assisted group communication planned for a future phase.
Coming soon — will be updated once deployed.
- Email and password authentication with JWT
- 1:1 Direct Messaging with real-time delivery
- Group chats organised around shared interests and goals
- Public group discovery by topic
- Online/offline presence indicators
- Typing indicators
- Emoji reactions on messages
- Quoted replies
- Unread message badges
- Browser desktop notifications
- User avatar and group image uploads
- User and group search
- In-conversation message search
- Image and file sharing
/summary— catch up on missed group conversations instantly@ask— collaborative AI assistant, answers visible to the whole group- Smart reply suggestions
- Message translation
- Tone checker before sending
| Technology | Purpose |
|---|---|
| Angular 21 | UI framework (Standalone components, Signals) |
| Angular Router | Client-side navigation & functional guards |
| SockJS + STOMP | WebSocket client |
| Angular HttpClient | HTTP client & functional interceptors |
| SCSS | Component-scoped styling |
| Technology | Purpose |
|---|---|
| Spring Boot 4.x | Modular monolithic backend |
| Spring WebSocket + STOMP | Real-time messaging |
| Spring Security + JWT | Authentication |
| Spring Data MongoDB | Data access layer |
| Apache Kafka | WebSocket fan-out across instances |
| Cloudflare R2 | File and image storage |
| Claude API (Anthropic) | AI features (Phase 4) |
| Technology | Purpose |
|---|---|
| MongoDB | All persistent data — users, groups, conversations, messages |
| Service | Purpose |
|---|---|
| Vercel | Angular frontend hosting |
| Render | Spring Boot backend hosting |
| MongoDB Atlas | Managed MongoDB (free tier) |
| Upstash | Managed Kafka |
| Cloudflare R2 | Object storage |
| GitHub Actions | CI/CD pipeline |
Orbit uses a monorepo structure with a modular monolithic backend.
orbit/
├── frontend/ # Angular SPA — deployed on Vercel
├── backend/ # Spring Boot monolith — deployed on Render
└── docs/ # Architecture decisions, ERD, API contracts
The backend is organised into feature packages internally (auth, user, group, conversation, message, websocket, presence, file, search, ai) rather than separate deployable services. Kafka handles WebSocket fan-out across multiple backend instances, making the architecture horizontally scalable without microservices overhead.
MongoDB is used as the single database for all data domains. Relational integrity is enforced at the service layer rather than via foreign key constraints, following the same approach used in production enterprise systems at scale.
Full architecture documentation is available in /docs.
- All traffic encrypted in transit via TLS (enforced by Vercel and Render)
- Passwords hashed with BCrypt (cost factor 12)
- JWT-based authentication (access token 15min, refresh token 7 days)
- Data encrypted at rest via MongoDB Atlas managed storage
- No end-to-end encryption — a deliberate tradeoff to support
server-side AI features. Documented in
docs/discussions/004_e2ee_vs_ai_features.md
Prerequisites: Java 21, Node.js 20+, Docker (for Kafka locally)
cd backend
cp .env.example .env # fill in environment variables
docker compose up -d # starts MongoDB and Kafka locally
./mvnw spring-boot:runcd frontend
npm install
npm startThe frontend runs on http://localhost:4200
The backend runs on http://localhost:8080
Swagger UI is available at http://localhost:8080/swagger-ui.html
Springwolf UI (AsyncAPI) is available at http://localhost:8080/springwolf/asyncapi-ui.html
| Document | Description |
|---|---|
FEATURES.md |
Full feature list across all phases |
TECH_STACK.md |
Technology decisions and justifications |
API_CONTRACTS.md |
REST and WebSocket endpoint reference |
backend/openapi.yaml |
OpenAPI 3.1 specification (Swagger UI at /swagger-ui.html) |
backend/asyncapi.yaml |
AsyncAPI 3.1 specification (Springwolf UI at /springwolf/asyncapi-ui.html) |
architecture/erd.md |
Database schema |
architecture/c1_system_context.md |
System context diagram |
architecture/c2_container.md |
Container diagram |
architecture/c3_component.md |
Component diagram |
discussions/ |
Architecture Decision Records (ADRs) |
| Phase | Status |
|---|---|
| Phase 1 — Core | 🔲 In Progress |
| Phase 2 — Enhancement | 🔲 Planned |
| Phase 3 — Search & Files | 🔲 Planned |
| Phase 4 — AI Features | 🔲 Planned |
Satyam — Full Stack Developer GitHub · LinkedIn
Built as a portfolio project to demonstrate real-time systems, WebSocket architecture, Angular, and AI integration.