Hello! Welcome to the guidelines to my person API.

All you're going to need in order to run this app is:

Setting up

  • After installing docker and docker-compose, you have to clone this repo
  • Then you go to this repo clone directory and to run the following command in your terminal:
docker-compose up
  • Wait a little while the images buildings are complete and the containers running

Endpoints

The request body should look like this:
{
    "name": "Name",
    "birthDay": "2000-10-01",
    "addressList": [
        {
            "street": "street1",
            "zipCode": 12345,
            "number": 12,
            "city": "City"
        }, 
        {
            "street": "street2",
            "zipCode": 12346,
            "number": 13,
            "city": "City"            
        }
    ]
}
The request body should look like this:
{
    "name": "Name2",
    "birthDay": "2000-10-01",
    "addressList": [
        {
            "street": "street1",
            "zipCode": 12345,
            "number": 12,
            "city": "City"
        },
        {
            "street": "street2",
            "zipCode": 12346,
            "number": 13,
            "city": "City"
        }
    ]
}
The request body should look like this:
{
    "street": "street3",
    "zipCode": 12345,
    "number": 12,
    "city": "City"
}