Skip to content

CodeWithGeorg/Jokes--App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Joke API – Random Joke Generator

A simple Java Spring Boot web application that serves random jokes via an API and displays them in a dynamic web page. Each joke changes when you click a button, with a smooth fade-in/fade-out animation.


🛠 Features

  • Random jokes served via a REST API (/joke)
  • Frontend HTML page with a “Get a New Joke” button
  • Smooth fade-out and fade-in animation for new jokes
  • Fully static frontend served from Spring Boot
  • Easy to extend with more jokes or endpoints

💻 Technologies Used

  • Java 21
  • Spring Boot 3.x
  • Maven for project build and dependency management
  • HTML, CSS, JavaScript for the frontend

🚀 Getting Started

Prerequisites

  • Java 17 or higher installed
  • Maven installed

Installation & Run

  1. Clone the repository:
git clone <your-repo-url>
cd jokeapi
  1. Build and Run:
mvn clean
mvn spring-boot:run
  1. Open You browser paste this
http://localhost:8080

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors