Interview Questions and Project
Interview Questions and Project
Objective:
The goal of this project is to create a simple e-commerce product catalog service. The service
should expose RESTful APIs for managing and querying products.
Project Requirements:
1. Product Entity:
o id: Long (Auto-generated ID)
2. API Endpoints:
o Create Product: POST /api/products
3. Additional Requirements:
o Implement validation for the input fields.
o Use appropriate error handling for invalid input or operations (e.g., product not
found).
o Implement the JWT authentication to the API.
o Optional: Implement pagination and sorting for the Get All Products endpoint.