This RESTful API provides endpoints for basic CRUD operations on a user management system. It allows you to perform operations like creating, reading, updating, and deleting user information.
- Create a new user
- Retrieve user information
- Update existing user details
- Delete a user
-
Create User
POST /user/save
-
Get User
GET /user/display/{userId}
-
Get All User
GET /user/displayall
-
Update User
PUT /user/update/{userId}
-
Delete User
DELETE /user/delete/{userId}
- Java (version 17)
- Spring Boot (version 3.2.0)
- Database (MySQL)
- Clone the repository:
git clone https://github.com/shivdatt23/user-management-system.git
- Navigate to the project directory:
cd user-management-system
- Build the project:
- Run the application:
Make requests to the API using your preferred tool (e.g., Postman) or integrate it into your application.
postman POST "Body: JSON"
'{
"name":"shiv datt",
"age":22,
"email": "[email protected]",
"password": "g22dd3",
"mobile":9322228,
"salary":23345
}'
http://localhost:8080/user/save