Skip to content

ShashithAdithyaWijerathne/MTIT-MobileApplicationDevelopment

Repository files navigation

MTIT-MobileApplicationDevelopment

Joke Mobile Application Using API

WhatsApp Image 2020-11-14 at 23 28 09

When you open the application you can see the above screenshot. And after 3s it will auto redirect to the login page. Because I will hope to use AdMob in the welcome page.

WhatsApp Image 2020-11-14 at 23 29 12 WhatsApp Image 2020-11-14 at 23 27 57

Author Account

https://github.com/15Dkatz/official_joke_api

Official Joke API

Endpoints:

Grab a random joke!

https://official-joke-api.appspot.com/random_joke

https://official-joke-api.appspot.com/jokes/random

Grab ten random jokes!

https://official-joke-api.appspot.com/random_ten

https://official-joke-api.appspot.com/jokes/ten

Grab jokes by type!

The endpoints are jokes/:type/random or jokes/:type/ten. For example:

https://official-joke-api.appspot.com/jokes/programming/random

https://official-joke-api.appspot.com/jokes/programming/ten


How these jokes were collected

The majority of these jokes were contributed by joke-loving coders around the world!

Make a contribution!

Submit a Pull Request, with your joke added to the jokes/index.json file. Make sure the joke is in this format:

{
  "id": last joke id + 1,
  "type": "programming",
  "setup": "What's the best thing about a Boolean?",
  "punchline": "Even if you're wrong, you're only off by a bit."
}

Run Locally

  • Clone the repo
  • npm i && npm run dev
  • Visit localhost:3005/jokes/random or localhost:3005/jokes/ten on your browser!

About

Joke Mobile Application Using API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages