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
bashgit 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.