CRM backend

Get all customers

curl http://localhost:3000/customers

Get a customers

curl http://localhost:3000/customers/{id}

Create new customer

curl -H "Content-Type: application/json" -X POST --data '{"id": 3, "FirstName":"Nga","LastName":"Nguyen", "Email": "ngand1@fpt.com"}' http://localhost:3000/customers

Update a customer

curl -H "Content-Type: application/json" -X PUT --data '{"id": 2, "FirstName":"Nga-updated","LastName":"Nguyen", "Email": "ngand1@fpt.vn"}' http://localhost:3000/customers/2

Delete a customer

curl -X DELETE http://localhost:3000/customers/{id}