A simple HTTP API with Ktor and kmongo

End points

GET

/customers
returns a list of customers from db

/customers/{id}
returns a single of customers from db with matching id

POST

/customers
add a single customer to db

DELETE

/customers/{id}
deletes customer from db with matching id