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.
Navigate to: "student-management-system" directory
mvn package
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
- 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 protected]