Nexus
An organization-scoped team workspace built with a Next.js frontend and Spring Boot modular monolith. Connects chat, projects, tasks, collaborative documents, forms, calendars, and meetings through PostgreSQL persistence, token authentication, REST APIs, and STOMP/WebSocket updates.
Problem and audience
Teams need a shared place to manage work and conversations while keeping records scoped to their own organization.
Architecture and tradeoffs
Nexus is implemented as a Next.js frontend and a Spring Boot modular monolith backed by PostgreSQL. Domain modules remain inside one backend deployment.
- Spring Security
- Local email/password authentication uses BCrypt and signed access tokens. A configured Clerk JWT decoder provides an additional identity path; protected domain operations enforce organization membership.
- Spring Boot modular monolith
- A single Spring Boot application hosts bounded-context modules for organizations, teams, chat, projects, tasks, documents, forms, calendars, notifications, and more.
- STOMP / WebSocket
- The backend provides a STOMP WebSocket foundation for realtime chat and collaboration events, alongside persisted REST workflows.
- PostgreSQL
- Docker Compose runs PostgreSQL. Flyway migrations establish bounded-context schemas, UUID IDs, audit timestamps, and soft-delete columns.
Nexus keeps its domain modules in one Spring Boot deployment. This simplifies service coordination, while modules share the backend’s release and scaling boundary. REST handles durable records and STOMP carries live updates.
Scope and limitations
The repository describes a Phase 1 vertical slice. Provider-backed features need their own credentials; the integrations screen reports readiness rather than faking unavailable providers.
The reviewed change records work on workspace authorization and container configuration.
Reviewed repository snapshot (f322583) ↗The architecture review also considered local changes beyond this snapshot.