Project Overview

Developed a RESTful Bookstore API using Java and JAX-RS to manage books, authors, customers, carts, and orders. The system supports full CRUD operations, in-memory data handling, and custom error responses. All endpoints were thoroughly tested using Postman.

Objectives

  • Design and implement a memory-based bookstore system.
  • Provide robust RESTful endpoints for all major resources.
  • Ensure accurate and complete API testing.
  • Handle exceptions gracefully with custom error responses.

Technologies Used

Java
JAX-RS
Rest- API
Postman

Features Implemented

  • Books: Add, update, delete, and retrieve books by ID/ISBN/author.
  • Authors: Full CRUD operations.
  • Customers: Secure customer registration and management.
  • Cart: Add, update, and remove items; validate stock.
  • Orders: Place orders, validate carts, and generate order summaries.
  • Error Handling: Custom exceptions and consistent error response formats.
  • Logging: Server lifecycle logging for debugging and traceability.