Skip to content

JesseLee62/Student-Management-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

Student-Management-System

A CRUD application includes obtaining all student data, adding a student, deleting a student, and updating a student. Implemented using the Spring Boot framework, Java, JDBC, JPA, and PostgreSQL.

image

image


Make sure you already have Maven and JDK to package the application.

Navigate to: "student-management-system" directory

mvn package

Run:

Navigate to: "student-management-system/target" directory

java -jar student-management-system-0.0.1-SNAPSHOT.jar

Or you can specify different port (default is 8080)

java -jar student-management-system-0.0.1-SNAPSHOT.jar --server.port=8081

Endpoints:

  • GET/POST:
http://localhost:8080/api/v1/student
  • DELETE ("3" is the studentID):
http://localhost:8080/api/v1/student/3
  • PUT ("new_name" is the name you want to update, "new@..." is the email you want to update):
http://localhost:8080/api/v1/student/3?name=new_name
http://localhost:8080/api/v1/student/3?name=new&email=new@gmail.com

Releases

No releases published

Packages

No packages published

Languages