Spring Project

Project: Customer REST Service

  1. Implement a REST controller CustomerController that supports the following REST requests:
    • POST /customers − Register a customer
    • GET /customers/{id} − Find a customer by his identifier
    • GET /customers?name={name} − Search for customers by name
    • PUT /customers/{id} − Update a customer
  2. Use the server.port application property to start the order microservice on port 8002.
  3. Test the controller using the Postman utility.

API Documentation