Full-Stack / Real-time

StudyHub — Collaborative Study Platform (DUT final-year project)

StudyHub is a full-stack web app that helps students study together. It brings video study rooms, real-time chat, Pomodoro sessions, to-do lists, study-time tracking and a leaderboard into one place. We built it as a team of two for our DUT final-year project at EST Essaouira.

View the code on GitHub
Role
Front-end developer, video rooms and real-time chat (team of two)
Context
DUT final-year project (PFE) at EST Essaouira, team of two
Period
2024

Screenshots & diagrams

Captured from the running project. Click to view full screen.

A video study room (WebRTC) with the shared Pomodoro timer.
Sign-up with password-strength check; accounts are activated by email.
Study goals: a personal to-do list.
Study time recorded by the Pomodoro timer, charted per day.
Leaderboard ranked by hours studied.
Password reset through a signed link sent by email.
Online users, updated in real time over WebSockets.

The problem

Students who study remotely juggle separate apps for video calls, chat, timers and to-do lists, and lose the motivation of studying with others.

The solution

A single web platform where students study together: video study rooms with a shared Pomodoro timer, real-time chat, study goals, study-time statistics and a leaderboard.

The impact

Delivered as our DUT final-year project: a working monorepo with a NestJS API and a Next.js client, covering authentication, real-time features and data visualisation.

What I did

  1. 01

    My part: built the front end of the platform in Next.js, React and TypeScript (pages, navigation and the study tools' interfaces).

  2. 02

    My part: built the video study rooms, peer-to-peer video calls with WebRTC (PeerJS) and the shared Pomodoro timer inside the room.

  3. 03

    My part: built the real-time chat rooms on the client, messaging over WebSockets (Socket.io) with a live list of connected users.

  4. 04

    Team: a NestJS API on PostgreSQL with Prisma, with authentication (email activation, JWT, bcrypt, password reset by email), to-dos, study-time tracking, charts and a leaderboard.

Key challenges

Real-time state

Keeping chat messages and the list of connected users consistent across clients meant handling connections and disconnections on the WebSocket gateway, not only in the UI.

Securing the app

Every private page had to be protected before rendering, so route protection runs in Next.js middleware with JWT verification, on top of the API's own checks.

Results

  • Complete platform delivered and defended as our DUT final-year project (2024).
  • Source code public on GitHub as a monorepo (NestJS API + Next.js client).

Tech stack

Next.jsReactTypeScriptNestJSPostgreSQLPrismaSocket.ioWebRTC (PeerJS)JWTChart.js

Skills demonstrated

Full-stack developmentReal-time systemsAuthentication & securityTeamworkData visualisation

Want this kind of work on your team?

Available for a 6-month PFE internship from January 2027.

Get in touch