โ† Back
Quotiva

Quotiva

A minimal Spring Boot + Thymeleaf web app that displays a random inspirational quote every time.

Quotiva is a minimal Spring Boot + Thymeleaf web app that displays a random inspirational quote every time you visit or interact with the page.

"Beautiful, simple, and blazing fast."

โœจ Features

  • ๐Ÿ” Random quotes from a local JSON file
  • โšก Tailwind CSS-powered clean UI
  • ๐Ÿ’ก "Get Another Quote" button updates the quote instantly.
  • ๐Ÿ”’ No external API or database needed
  • โ˜• Built entirely with Spring Boot and Thymeleaf
  • ๐Ÿš€ Getting Started

Prerequisites

  • Java 17+
  • Maven 3.6+

Running Locally

bash
git clone https://github.com/yourusername/quotiva.git cd quotiva ./mvnw spring-boot:run

Open your browser at http://localhost:8080

๐Ÿ›  Technologies Used

  • Spring Boot
  • Thymeleaf
  • Tailwind CSS (via CDN)
  • JSON (for quotes)

๐Ÿ“ Data Format

All quotes are stored locally in src/main/resources/data/quotes.json.

json
[ { "text": "The best way to predict the future is to invent it.", "author": "Alan Kay" }, { "text": "Stay hungry, stay foolish.", "author": "Steve Jobs" } ]

๐Ÿค Contributing

Feel free to fork the repo and submit pull requests. For feature ideas or bugs, open an issue.

๐Ÿ“œ License

This project is licensed under the MIT License โ€” see the LICENSE file for details.