SkillAgentSearch skills...

CampusConnect

šŸŽ“ Student Management System — Full Stack Java Web App (JSP + Servlet + JDBC + MySQL) | SPPU Third Year Project | Live on Railway

Install / Use

/learn @shivrajcodez/CampusConnect
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

šŸŽ“ Student Management System

A full-stack web application built with Core Java, JDBC, Servlet, JSP and MySQL.
Developed as part of the SPPU Third Year PAT (Project Based Assessment) internship project.

🌐 Live Demo: campusconnect-production-45d8.up.railway.app


šŸ” Demo Credentials

| Role | Username | Password | |---------|---------------|--------------| | Admin | admin | admin123 | | Student | rahul.sharma | student123 | | Student | priya.patil | student123 |


✨ Features

Admin Panel

  • šŸ” Secure login with session management
  • šŸ“Š Dashboard with total students and courses count
  • šŸ‘Øā€šŸŽ“ Add, Edit, Delete, View Students (full CRUD)
  • šŸ” Search students by name, email, enrollment number, department
  • šŸ“š Course Management (Add, Edit, Delete courses)
  • šŸ“ Marks Entry with automatic grade calculation
  • šŸ“… Attendance Tracking (Present / Absent / Late)
  • šŸ–Øļø Print student records

Student Portal

  • šŸ” Secure login with personal session
  • šŸ  Personal dashboard with profile info
  • šŸ“š View enrolled courses
  • šŸ“ View personal marks and grades
  • šŸ“… View attendance with percentage
  • āš ļø Warning if attendance below 75%

Validation

  • āœ… Indian mobile number validation (10 digits, starts with 6-9)
  • āœ… Email format validation (frontend + backend)
  • āœ… Duplicate email and phone detection
  • āœ… Marks range validation (0-50 each)
  • āœ… Bootstrap form validation with live feedback

šŸ› ļø Tech Stack

| Layer | Technology | |------------|-----------------------------------| | Frontend | JSP, HTML5, CSS3, Bootstrap 5 | | Backend | Core Java, Servlets | | Database | MySQL, JDBC | | Server | Apache Tomcat 9 | | Hosting | Railway.app (Docker) | | IDE | Eclipse IDE for Enterprise Java |


šŸ—„ļø Database Schema

users        → user_id, username, password, role
students     → student_id, name, email, phone, enrollment_number, department, year
courses      → course_id, course_name, course_code, department, credits, semester
enrollments  → enrollment_id, student_id, course_id (junction table)
marks        → mark_id, student_id, course_id, internal, external, total, grade
attendance   → attendance_id, student_id, course_id, date, status

šŸ“ Project Structure

StudentManagementSystem/
ā”œā”€ā”€ src/
│   └── com/sms/
│       ā”œā”€ā”€ model/        → Student.java, User.java, Course.java, Marks.java, Attendance.java
│       ā”œā”€ā”€ dao/          → StudentDAO.java, UserDAO.java, CourseDAO.java, MarksDAO.java, AttendanceDAO.java
│       ā”œā”€ā”€ servlet/      → LoginServlet, StudentServlet, CourseServlet, MarksServlet, AttendanceServlet
│       └── util/         → DBConnection.java, ValidationUtil.java
ā”œā”€ā”€ WebContent/
│   ā”œā”€ā”€ jsp/              → login, dashboard, addStudent, viewStudents, editStudent,
│   │                        manageCourses, manageMarks, manageAttendance,
│   │                        studentDashboard, myMarks, myAttendance, error
│   └── WEB-INF/
│       ā”œā”€ā”€ web.xml
│       └── lib/          → mysql-connector-j.jar
└── Dockerfile

šŸš€ Run Locally

Prerequisites

  • Java JDK 11+
  • Apache Tomcat 9
  • MySQL 5.7+
  • Eclipse IDE for Enterprise Java

Steps

1. Clone the repository

git clone https://github.com/shivrajcodez/CampusConnect.git

2. Import in Eclipse

  • File → Import → Existing Projects into Workspace
  • Select the cloned folder

3. Setup MySQL

  • Create database: student_management_db
  • Run the SQL script from database.sql

4. Update DB credentials

  • Open src/com/sms/util/DBConnection.java
  • Update USERNAME and PASSWORD with your MySQL credentials

5. Add MySQL JAR

  • Download mysql-connector-j-8.x.jar
  • Add to WebContent/WEB-INF/lib/
  • Add to Build Path

6. Run on Server

  • Right-click project → Run As → Run on Server → Tomcat 9

7. Open browser

http://localhost:8080/StudentManagementSystem/

🐳 Deploy with Docker

FROM tomcat:9.0-jdk17-temurin
RUN rm -rf /usr/local/tomcat/webapps/*
COPY StudentManagementSystem.war /usr/local/tomcat/webapps/ROOT.war
EXPOSE 8080
CMD ["catalina.sh", "run"]

šŸ“Š Grade System

| Total Marks | Grade | |-------------|-------| | 90 - 100 | A+ | | 80 - 89 | A | | 70 - 79 | B | | 60 - 69 | C | | 50 - 59 | D | | Below 50 | F |

Internal marks: 0-50 | External marks: 0-50 | Total: 0-100


šŸ—ļø Architecture

This project follows the MVC (Model-View-Controller) pattern:

  • Model → Java classes in com.sms.model (Student, Course, Marks, etc.)
  • View → JSP pages in WebContent/jsp/
  • Controller → Servlets in com.sms.servlet
  • DAO Layer → Database operations in com.sms.dao

šŸ‘Øā€šŸ’» Developer

Shivraj — Third Year Computer Engineering
SPPU Internship Project — Java Full Stack


šŸ“„ License

This project is open source and available under the MIT License.

Related Skills

View on GitHub
GitHub Stars15
CategoryData
Updated1d ago
Forks0

Languages

Dockerfile

Security Score

95/100

Audited on Apr 6, 2026

No findings