Shanmuga Krishnan S M 72c213f2b6
Some checks failed
Deploy RIT Freshers Hub to VPS / Deploy to Live VPS (push) Has been cancelled
fix(auth): add resilient fallback for missing CSRF token and proxy unavailability on VPS
2026-08-24 10:38:53 +05:30
2026-08-18 09:06:46 +05:30
2026-08-21 10:39:40 +05:30
2026-08-21 10:39:40 +05:30
2026-08-21 10:39:40 +05:30
2026-08-18 09:06:46 +05:30
2026-08-21 10:39:40 +05:30

🏫 Rajalakshmi Institute of Technology — Freshers-Hub

Welcome to the Freshers-Hub Portal, a multi-service campus assistant and student utility ecosystem designed for Rajalakshmi Institute of Technology (RIT). The platform provides student services including live transit tracking, study guides, competitive programming leaderboards, developer collaboration networks, and an automated AI assistant.


🏗️ System Architecture & Service Stack

The system is built on a distributed microservice architecture utilizing four primary runtimes:

                  ┌───────────────────────────────┐
                  │       Nginx Web Server        │
                  │       (Ports 80 / 443)        │
                  └───────────────┬───────────────┘
                                  │
          ┌───────────────────────┼───────────────────────┐
          ▼                       ▼                       ▼
┌───────────────────┐   ┌───────────────────┐   ┌───────────────────┐
│  React Frontend   │   │Spring Boot Backend│   │Go Chatbot Service │
│   (Vite App)      │   │   (Port 8085)     │   │   (Port 8081)     │
└───────────────────┘   └─────────┬─────────┘   └───────────────────┘
                                  │
                                  ▼
                        ┌───────────────────┐   ┌───────────────────┐
                        │   Python Gateway  │◄──┤  Telegram Bot &   │
                        │    (Port 8082)    │   │    Discord Bot    │
                        └───────────────────┘   └───────────────────┘

Stack Components:

  1. Frontend: React, TypeScript, Vite, Tailwind CSS, Leaflet Maps, and Framer Motion.
  2. Core API Backend: Spring Boot, Java 21, Hibernate/JPA, and PostgreSQL.
  3. Go Chatbot Engine: Go microservice performing spelling correction (Levenshtein Distance) and BM25 ranking queries.
  4. Python Bot Gateway: FastAPI HTTP listener interfacing with Telegram and Discord bot APIs.

⚙️ Service Ports & Deployments

Component Dev Port Production Port Daemon Service Description
React App 5173 80 / 443 nginx Frontend web client
Spring Boot API 8085 8085 springboot Core business logic & database API
Go Chatbot API 8081 8081 chatbot Keyword lookup & campus Q&A engine
Python Bot Server 8082 8082 telegram-bot Telegram/Discord webhook router
PostgreSQL Database 5432 5432 postgresql Primary database cluster

📑 Feature Documentation Directories

For full functional breakdowns, REST API schemas, and technical setup guides for each platform feature, refer to the guides inside docs/features/:


🛠️ Verification & Building

To verify that the system compiles successfully after local configurations:

  1. Verify Frontend Build:
    npm run build
    
  2. Verify Java Backend Compilation:
    cd backend
    ./mvnw clean package -DskipTests
    
  3. Verify Go Microservice Compilation:
    cd chatbot-service
    go build -o chatbot
    
Description
No description provided
Readme 54 MiB
Languages
TypeScript 58.6%
HTML 31.2%
Java 6.8%
Python 2.4%
Go 0.5%
Other 0.4%