git clone https://github.com/Ruhshan/suburb-app.git
docker compose up
curl --location --request POST 'http://localhost:5000/api/suburbs' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"name":"Melborne",
"postcode":100
},
{
"name":"Sydney",
"postcode":"200"
},
{
"name":"Brisbane",
"postcode": 300
},
{
"name":"Perth",
"postcode":400
},
{
"name":"Adelaid",
"postcode":500
},
{
"name":"Canberra",
"postcode":600
},
{
"name":"Hobar",
"postcode":700
},
{
"name":"Darwin",
"postcode":800
}
]'
curl --location --request GET 'http://localhost:5000/api/suburbs?start=100&end=800' \
--header 'Content-Type: application/json'
http://localhost:5000/v3/swagger-ui/
Replace http://localhost:5000/api/suburbs with https://suburb-app.herokuapp.com/api/suburbs