# Demo Projects

To help you become familiar with this library, you can explore two demo projects that showcase how to handle and serialize Result objects within popular frameworks like [**Spring Boot**](https://spring.io/projects/spring-boot) and [**Micronaut**](https://micronaut.io/). Each project provides a working example of a "pet store" web service that exposes a REST API for managing pets. They are based on [Swagger Petstore Sample](https://github.com/swagger-api/swagger-petstore) and you can interact with them using [**Swagger-UI**](https://github.com/swagger-api/swagger-ui).

<table data-card-size="large" data-view="cards" data-full-width="true"><thead><tr><th></th><th align="center"></th><th data-hidden data-card-cover data-type="image">Cover image</th><th data-hidden data-card-cover-dark data-type="image">Cover image (dark)</th></tr></thead><tbody><tr><td><a href="https://spring.io/projects/spring-boot"><strong>Spring Boot</strong></a> is a widely-used, JVM-based framework designed to simplify the development of stand-alone, production-ready Spring applications. It emphasizes convention over configuration, allowing developers to get started quickly with minimal setup and leveraging the powerful <a href="https://spring.io/"><strong>Spring Framework</strong></a> while minimizing boilerplate code.</td><td align="center"><a href="https://github.com/LeakyAbstractions/result-example-spring-boot" class="button primary" data-icon="rocket-launch">Try it in 5 minutes</a></td><td data-object-fit="contain"><a href="/files/Rg7gUvcBAqbr6MWrGFOi">/files/Rg7gUvcBAqbr6MWrGFOi</a></td><td></td></tr><tr><td><a href="https://micronaut.io/"><strong>Micronaut</strong></a> is a modern, JVM-based framework for building lightweight microservices and serverless applications. It focuses on fast startup times and low memory usage. Although not as widely adopted as <a href="https://spring.io/projects/spring-boot">Spring Boot</a>, it has gained popularity for its performance and innovative features.</td><td align="center"><a href="https://github.com/LeakyAbstractions/result-example-micronaut" class="button primary" data-icon="rocket-launch">Try it in 5 minutes</a></td><td data-object-fit="contain"><a href="/files/JgEq5Hpq45nkp8JjCnfW">/files/JgEq5Hpq45nkp8JjCnfW</a></td><td><a href="/files/sPsc7OitvZsiVeuAjmxw">/files/sPsc7OitvZsiVeuAjmxw</a></td></tr></tbody></table>

These projects illustrate how to develop powerful APIs using Result objects. Follow the examples to create resilient web services that elegantly handle success and failure scenarios.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://result.leakyabstractions.com/extra/demo.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
