Skip to content

rashmiJayawardhana/Jokes_API_with_Caching

Repository files navigation

🚀 Joke App 🎉

A fun and interactive Joke App built using Flutter and the Joke API, with support for both online and offline modes. This app fetches jokes from an API and caches them using shared_preferences for offline access.

💡 Features

Fetches 5 jokes from an online API
Offline support using shared_preferences
Smooth Flutter UI for an engaging user experience
JSON serialization/deserialization for efficient data handling
Displays cached jokes when offline

🛠️ Technologies Used

  • Flutter (Dart)
  • Joke API
  • shared_preferences (for caching)
  • HTTP package (for API requests)

🚀 Getting Started

1️⃣ Prerequisites

2️⃣ Clone the Repository

git clone https://github.com/your-username/Joke-App-Flutter.git
cd Joke-App-Flutter

3️⃣ Install Dependencies

flutter pub get

4️⃣ Run the App

flutter run

🤝 Contributing

Feel free to contribute by creating a pull request!

About

A Flutter app that fetches and caches jokes using shared_preferences package.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published