Unishare - Student Resource Sharing Platform
Full-stack platform for university students to share lecture notes, past papers, and study guides
Overview
A monorepo platform built for university students to upload, discover, and share academic resources across courses and departments. Features a NestJS REST API, Next.js frontend, real-time chat, collaborative canvas, and AI-powered document summarization — all deployed via Docker and GitHub Actions CI/CD.
The problem
Building a scalable, full-stack platform from scratch that handles file uploads, real-time features, and AI integration while maintaining clean architecture and a great developer experience across a monorepo.
What I did
Adopted a Turborepo monorepo with NestJS + Prisma backend and Next.js frontend, implemented OpenAPI-first development with Orval for type-safe API clients, added real-time chat via Socket.IO, integrated AI summarization, and automated deployment with Docker and GitHub Actions.
Details
- NestJS REST API with Prisma ORM and PostgreSQL full-text search
- Real-time features: chat (Socket.IO) and collaborative canvas (Excalidraw)
- OpenAPI spec with Orval code generation for type-safe frontend API calls
- AI document summarization and Open Graph / SEO optimization
- Question answering over uploaded notes with pgvector embeddings and cited sources
- Releases via semantic-release, CodeQL scanning and path-filtered Docker builds to GHCR
- GitOps deploys: CI commits image tags, Argo CD syncs in waves, a failed migration blocks the rollout
Built with
Next.js, NestJS, Prisma, PostgreSQL, Redis, Socket.IO, pgvector, Docker, Argo CD, Turborepo, TypeScript, TanStack Query