Skip to content

Ajit1702/RestApi_StudentDetails

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Spring Data API Project

This project is a Spring Boot application that provides CRUD operations for managing student records in a database.

Table of Contents

Getting Started

Prerequisites

  • Java JDK
  • Maven
  • Spring Boot

Installation

  1. Clone the repository: git clone https://github.com/Ajit1702/RestApi_StudentDetails.git
  2. Navigate to the project directory: cd SpringDataBase
  3. Build the project: mvn clean install
  4. Run the application: java -jar target/SpringDataBase.jar

Usage

Adding a New Student

Use the following endpoint to add a new student:

POST /new

Adding Multiple Students

Use the following endpoint to add multiple students:

POST /saveAll

Getting a Student by ID

Use the following endpoint to retrieve a student by ID:

GET /{id}

Getting All Students

Use the following endpoint to retrieve all students:

GET /showAllStudent

Deleting a Student

Use the following endpoint to delete a student by ID:

DELETE /{id}

Updating a Student

Use the following endpoint to update a student:

PUT /updatestudent

Contributing

Contributions are welcome! Please follow the CONTRIBUTING.md guidelines.

License

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

Releases

No releases published

Packages

No packages published

Languages