![Logo](https://raw.githubusercontent.com/massimilianobattelli/DadJokes/main/app/src/main/res/app-icon.png)
An android app that provides the so-called "DadJokes": unoriginal and predictable joke, especially a pun, the kind supposedly told by fathers. The app provides save and search features for tens of thousands of jokes.
Explore the docs »
View Demo · Report Bug · Request Feature
Table of Contents
Api used for the project:
- To retrieve jokes in the main page: https://rapidapi.com/KegenGuyll/api/dad-jokes 50 jokes a day
- To search a joke by keyword: https://rapidapi.com/almann/api/dad-jokes7 10 search a day
- If the app doesnt display the jokes or a 429 http response is shown wait 24h
This is a simple university project with the goal of implementing features of: api calls, MVVM code architecture, saving data in local databes, Kotlin language basics.
- Kotlin
- Android Studio
Here a list of jokes is randomly generate, by tapping on the fab button a new list of jokes appears,
Here a list of jokes choosen by the user to store
Here is possibile to find jokes by searching a keyword
Here is possibile to add a custom joke to the favourites
- Calls to public APIs
- Factorized code to follow the guidelines of the MVVM architecture
- Data management in local databases
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Massimiliano Battelli - massimilian.battelli@studio.unibo.it
Project Link: https://github.com/MassimilianoBattelli/Dadjokes