Skip to content

starun0011/CampusTrack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎓 CampusTracker – Student Management System

CampusTracker is a Spring Boot–based Student Management System that provides seamless CRUD operations for managing student records. It follows a clean layered architecture using Controller, Service, and Repository layers.


🚀 Features

  • Add new student records
  • Update existing student details
  • Fetch all students or specific student by ID
  • Delete student using ID
  • Follows MVC architecture with Service Layer
  • Uses Spring Data JPA for database operations

🛠️ Technologies Used

  • Java
  • Spring Boot
  • Spring Web
  • Spring Data JPA
  • MySQL
  • Hibernate

📂 Project Structure

src/main/java/com/sms/main

├── controllers/ # REST APIs
├── entity/ # JPA Entity Class
├── repository/ # JPA Repository Interface
└── services/ # Service Layer Logic


⚙️ API Endpoints

GET /api/students
GET /api/students/{id}
POST /api/students/add
PUT /api/students/{id}
DELETE /api/students/{id}


🗄️ Database Configuration (application.properties)

spring.application.name=CampusTracker
spring.datasource.url=jdbc:mysql://localhost:3306/studentDB
spring.datasource.username=root
spring.datasource.password=Admin@1234

spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql=true


▶️ How to Run the Project

  1. Clone the repository
  2. Open in IntelliJ/Eclipse
  3. Create MySQL DB
  4. Update credentials
  5. Run Spring Boot App
  6. Test APIs

📌 Future Enhancements

  • Pagination & sorting
  • Hibernate validation
  • Swagger API docs
  • React/Angular frontend

About

CampusTracker is a Spring Boot–based Student Management System that provides seamless CRUD operations for managing student records. It follows a clean layered architecture using Controller, Service, and Repository layers.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages