Give me a Joke

Content Type: Module
Categories:

Overview

This module shows the user each time a new joke, the users can rate the joke with like/dislike and will see the overall rating for other other jokes. In the administrative backend jokes can be imported from a public source from GitHub using REST, jokes can be categorized, and each category can be enabled / disabled. Administrator can sort the jokes by popularity and remove those with low rating. This module was written based on AtlasUI 8.6.0

Documentation

Demo urlhttps://givemeajoke-sandbox.mxapps.io/index.html

Description

This module shows the user new jokes and give them the possibility to rate them. Administrator has a proper admin interface available. 

Typical usage scenario

In a portal or larger application, you may welcome the users with a nice joke to increase the friendliness of your application. Since this is usually what you don’t want to waste your time, we created this module for you. You as developer can decide about the formatting and where within your app you wish to use this.   An example page is available. 

Features and limitations

To be able to use the REST connection, the application must have direct visibility to GitHub.

Dependencies 

Mendix Studio Pro 8.6.0

AtlasUI was used

The official source of the jokes is at https://github.com/15Dkatz/official_joke_api provided by 15DKatz

Installation

Copy the module into the application and check the Home_example page. Copy those elements from that page into your pages to properly integrate it.

Configuration

As an administrator you need to specify categories and fill the database with jokes.

Releases

Version: 1.0.0
Framework Version: 8.6.0
Release Notes: visual fixes regarding the containers as required.