Skip to content

MavsPeterKE/customer-service-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Customer Service API

Overview

The Customer Service is a Spring Boot application that exposes several API endpoints for managing customer data. It implements basic operations like registering a customer, retrieving customer information, and querying specific user profiles. The application follows the MVC architecture and is designed to be containerized using Docker for easy deployment. Additionally, the application includes Swagger for API documentation and Lombok to minimize boilerplate code.


Table of Contents

  1. Features
  2. Prerequisites
  3. Installation
  4. API Endpoints
  5. Application Architecture
  6. Dockerization
  7. Swagger Documentation
  8. Configuration
  9. License

Features

  • Register Customer: Register new customers via the /customers/v1/register endpoint.
  • Get All Customers: Retrieve all customer data via the /customers/v1/get endpoint.
  • Get Customer Profile: Retrieve a specific customer's profile using their ID via /customers/v1/profile/{id}.
  • MVC Architecture: The app follows a clear separation of concerns with Controllers, Services, Repositories, and Models.
  • Swagger Docs: Automatically generated Swagger documentation for easy API exploration.
  • Lombok Integration: Reduces boilerplate code by automatically generating getters, setters, constructors, etc.

Prerequisites

Ensure that you have the following installed on your machine:

  • Java 11+: Required to run the Spring Boot application.
  • Maven: For building the project.
  • Docker: For containerization.
  • MySql (or another database): Configured in application.properties for database interaction.

About

Simple Customer Service Spring API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published