This project is a Spring Boot application that provides CRUD operations for managing student records in a database.
- Java JDK
- Maven
- Spring Boot
- Clone the repository:
git clone https://github.com/Ajit1702/RestApi_StudentDetails.git
- Navigate to the project directory:
cd SpringDataBase
- Build the project:
mvn clean install
- Run the application:
java -jar target/SpringDataBase.jar
Use the following endpoint to add a new student:
POST /new
Use the following endpoint to add multiple students:
POST /saveAll
Use the following endpoint to retrieve a student by ID:
GET /{id}
Use the following endpoint to retrieve all students:
GET /showAllStudent
Use the following endpoint to delete a student by ID:
DELETE /{id}
Use the following endpoint to update a student:
PUT /updatestudent
Contributions are welcome! Please follow the CONTRIBUTING.md guidelines.
This project is licensed under the MIT License.
Make sure to replace placeholders like `Ajit1702`, `your-repository`, and `your-application` with your actual GitHub username, repository name, and application name. Additionally, if there are any specific instructions for setting up the database or configuring the application, you can include them in the README.ntDetails