Java Rest Api

Description

This is a simple REST API built with Java using the Spring Boot framework. It is designed for managing student records in educational institutions. The API allows for operations such as adding a new student, retrieving student details, updating student information, and deleting a student record.

Features

  • List all students
  • Get a single student by ID
  • Add a new student
  • Update a student's information
  • Delete a student

Technologies

  • Java
  • Spring Boot
  • Maven
  • H2 Database
  • JPA

Requirements

  • JDK 1.8 or later
  • Maven 3.2+

Running the Application

  1. Clone the repository and install the dependencies:
git clone https://github.com/nsanzimfura-eric/java-rest-api.git
cd java-rest-api
mvn clean install