Skip to content

BookStoreApi is a prod-ready book sales API developed using Spring Boot. This project aims to provide a secure and scalable API integrated with modern DevOps processes.

License

Notifications You must be signed in to change notification settings

Erano01/BookStoreAPI

Repository files navigation

BookStoreApi

BookStoreApi is a production-ready book sales API developed using Spring Boot.

Features

  • User management
  • Book management
  • Payment processing
  • Search and filtering

Installation and Usage

  1. Requirements: Java 11+, Maven, Docker, and Git must be installed.
  2. Clone the Project:
    git clone https://github.com/Erano01/BookStoreApi.git
    

#Configuration: Edit the application.properties file.

#API Documentation

#User Endpoints

  • POST /api/users: Creates a new user.
  • GET /api/users/{id}: Retrieves the specified user.
  • PUT /api/users/{id}: Updates the specified user.
  • DELETE /api/users/{id}: Deletes the specified user.

#Book Endpoints

  • POST /api/books: Adds a new book.
  • GET /api/books: Lists all books.
  • GET /api/books/{id}: Retrieves the specified book.
  • PUT /api/books/{id}: Updates the specified book.
  • DELETE /api/books/{id}: Deletes the specified book.

#Testing Processes (Code Coverage)

#CI/CD Processes

  • code coverage aim: %90

#Monitoring and Logging

  • Monitoring is done using Prometheus and Grafana.
  • Logging is implemented with SLF4J.

About

BookStoreApi is a prod-ready book sales API developed using Spring Boot. This project aims to provide a secure and scalable API integrated with modern DevOps processes.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages