#Tech Stack:- Spring-Boot-JPA-MySQL
$ git clone https://github.com/cseshubham/carscantask.git
File -> Import -> Maven -> Existing Maven Projects -> Browse Project from cloned location
5. Update database credential and other configuration into application.properties available in src/main/java/resources
can call following Endpoints by using POSTMAN or Any Rest Client
```
http://localhost:8080/userservice/user
```
```
http://localhost:8080/userservice/user
```
### set content type as in header as `application/json`
### set request body as raw with JSON body
```
{
"fname": "samdeep",
"lname": "patidar",
"dob": "2002-09-20",
"city": "Dewas",
"mobileNumber": "1234567890"
}
```
```
http://localhost:8080/userservice/user/<id>
```
```
http://localhost:8080/userservice/user
```
### set content type as in header as `application/json`
### set request body as raw with JSON body
```
{
"id": 1,
"fname": "samdeep",
"lname": "surnamechange",
"dob": "2002-09-20",
"city": "Dewas",
"mobileNumber": "1234567890"
}
```
```
http://localhost:8080/userservice/user/<id>
```
'<id>' with actual id