Priyansusahoo / SpringBoot_Hibernate_CRUD

Backend for Spring-Hibernate CRUD App using MySQL DB

Home Page:https://github.com/Priyansusahoo/SpringBoot_Hibernate_crud_API_EndPoints

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spring Boot and Hibernate CRUD App using MySQL Database

API Endpoints for SpringBoot_Hibernate_CRUD with Sample INPUT:

1. getAllEmployees API :

Response Body -> (JSON)

[
{
    "id": 2,
    "firstName": "Priyansu",
    "lastName": "Sahoo",
    "email": "priyansusahoo1@gmail.com"
},
{
    "id": 3,
    "firstName": "Priyansu",
    "lastName": "Sahoo",
    "email": "priyansusahoo1@gmail.com"
}
]

2. addEmployee API :

Request Body : (raw -> JSON)

{
"firstName" : "Priyansu",
"lastName" : "Sahoo",
"email" : "priyansusahoo1@gmail.com"
}

Response Body -> (JSON)

true

3. getById :

Request Body :

Alt text

Response Body -> (JSON)

{
"id": 7,
"firstName": "Priyansu",
"lastName": "Sahoo",
"email": "abc@gmail.com"
}

4. deleteById :

Request Body :

Alt text

Response Body -> (JSON)

true

5. updateEmailById :

Request Body :

Alt text

Response Body -> (JSON)

true

6. updateAddressById :

Request Body :

image

Response Body -> (JSON)

true

About

Backend for Spring-Hibernate CRUD App using MySQL DB

https://github.com/Priyansusahoo/SpringBoot_Hibernate_crud_API_EndPoints

License:MIT License


Languages

Language:Java 100.0%