This is a programming chalange, where I developed an API where you can register a User and an Address associated with a user.
Install docker, then execute the command below at the project root.
docker-compose up -d
Create a new database named Carguero, then your are ready to run the api using the commande below
dotnet run --project carguero
To run test execute
dotnet test
-
Endpoint
-
Method:
POST
- Data Params
{
"username": "data"
}
-
Endpoint
-
Method:
POST
- Data Params
{
"zipCode": "data",
"number": data,
"city": "data",
"district": "data",
"state": "data",
"userId": data
}
-
Endpoint
-
Method:
GET
-
Endpoint
-
Method:
PUT
- Data Params
{
"zipCode": "data",
"number": data,
"city": "data",
"district": "data",
"state": "data",
"userId": data
}
-
Endpoint
-
Method:
GET
-
Endpoint
-
Method:
GET