# Reference Application
source: https://developer.mastercard.com/presentment/documentation/reference-application/index.md

## Introduction {#introduction}

This section showcases reference implementations of Offers for Publishers APIs.

The reference application contains a REST client that supports all the use cases shown in this documentation. It is built using Spring Boot and can generate an API client library through OpenAPI Generator using the Offers for Publishers OpenAPI Specification. The reference application can be used to call the Offers for Publishers endpoints.

## Technologies used {#technologies-used}

* [Spring Boot](https://spring.io/projects/spring-boot)
* [Okhttp](https://square.github.io/okhttp/)
* [Lombok](https://projectlombok.org/)
* [Mockito](https://site.mockito.org/)
* [OpenAPI Generator](https://openapi.tools/)
* [Apache Maven](https://maven.apache.org/)

## Prerequisites {#prerequisites}

* [Java 11](http://www.oracle.com/technetwork/java/javase/downloads/index.html) or above.
* [Lombok](https://projectlombok.org/)
  * [Plugin for IntelliJ](https://plugins.jetbrains.com/plugin/6317-lombok/).
  * [Setup for Eclipse](https://projectlombok.org/setup/eclipse).
  * [Setup for Netbeans](https://projectlombok.org/setup/netbeans).

## Get the source code {#get-the-source-code}

* Download the [Offers Reference App](https://static.developer.mastercard.com/content/presentment/uploads/offers-reference-app.zip) or the [User Account Administration Reference App](https://static.developer.mastercard.com/content/presentment/uploads/offers-pci-api-reference-app.zip) and open it in your IDE.
* In the root directory of the application, follow the README.md file to configure and run the application.
