Skip to content
Krishika
Selected work

Additional project

Roomie Match

Roommate-matching system for university hostels: a Spring Boot REST API scores lifestyle compatibility between students, with separate access for hostel managers, wardens and students.

Stack
  • Java
  • Spring Boot
  • Spring Security
  • JWT
  • MySQL
  • REST APIs
  • JavaScript

Overview

Roomie Match pairs students in university hostels by lifestyle compatibility. Each student fills in a profile; the backend scores it against other students’ profiles across seven traits (sleep schedule, cleanliness, noise tolerance, social level, study habits, guest frequency and room temperature) and ranks the matches, with a breakdown for every trait.

It is a Spring Boot 3.2 REST API on Java 17, using Spring Data JPA with MySQL and stateless JWT authentication through Spring Security. The frontend is a set of HTML pages whose JavaScript calls the API with a bearer token.

What it does

Matching

  • Weighted scoring across seven lifestyle traits
  • Per-trait score breakdown
  • Matches ranked by compatibility

Access

  • Manager, warden and student roles
  • Role rules enforced per API path
  • Stateless JWT with BCrypt-hashed passwords

Hostel operations

  • Bulk student onboarding from CSV or JSON
  • Roommate requests, accepted or rejected
  • Room assignment created on acceptance
Sources
Public repository: Spring Boot source, pom.xml and security configuration