Skip to content

Devin2002/Bookstore-API-RESTful-Web-Service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

<title>📚 Bookstore API</title>

📚 Bookstore API – RESTful Web Service

Java REST API for managing authors, books, and orders

🧩 Tech Stack

  • ⚙️ Java 17+
  • 🔧 JAX-RS (Jakarta RESTful Web Services)
  • 📦 Maven
  • 🧪 NetBeans IDE
  • 🌐 Apache Tomcat Server
  • 📄 JSON Data Format

✅ Key Features

  • 📝 Author & Book Management – Full CRUD operations with validation
  • 🛒 Order System – Place, retrieve, and manage customer orders
  • 🚫 Robust Exception Handling – Custom error mappers with clear messages
  • 🔐 Input Validation – Ensure data integrity at every endpoint
  • 🧹 Clean Code Architecture – Layered design using services, resources, and models
  • 📦 WAR Deployment Ready – Easy to deploy on any servlet container
  • 🔁 RESTful Endpoint Design – Follows industry conventions for HTTP verbs and responses

🚀 Getting Started

# Clone the repository
git clone https://github.com/your-username/bookstore-api.git

Navigate into the project

cd bookstore-api

Build the project

mvn clean package

Deploy the generated WAR file to Apache Tomcat

📍 Access API Endpoints:

📁 Project Structure

├── models          # Data classes (Book, Author, Order)
├── services        # Business logic
├── resources       # JAX-RS REST endpoints
├── mappers         # Custom exception handlers
└── webapp          # Deployment configuration (web.xml)

💡 Ideal For

  • RESTful API development practice
  • Java + Maven + Tomcat deployment workflows
  • Clean, scalable backend design for web applications
© 2025 Devin | Bookstore API Project

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors