Returns all customer records.
(empty)
[
{
"id": "", // string
"firstName": "", // string
"surname": "", // string
"email": "", // string
"password": "" // string
}
...
]
Returns a single customer record for the provided ID.
(empty)
{
"id": "", // string
"firstName": "", // string
"surname": "", // string
"email": "", // string
"password": "" // string
}
Creates a customer record from the request body.
{
"firstName": "", // string
"surname": "", // string
"email": "", // string
"password": "" // string
}
{
"id": "", // string
"firstName": "", // string
"surname": "", // string
"email": "", // string
"password": "" // string
}
Updates a customer record from the request body.
{
"firstName": "", // string
"surname": "", // string
"email": "", // string
"password": "" // string
}
(empty)
Returns the customer record with the provided ID.
(empty)
(empty)
To run in the dockerized dev environment run docker-compose up
A Postman collection of all the available endpoints can be found in the root of the project in the file CF247.postman_collection.json