Skip to content

liveoak-io/liveoak-example-ionic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LiveOak Ionic Example

Example of an Ionic application using the LiveOak server.

Installing the application

  • Install Ionic and its prerequisites.

  • Edit liveoak-example-ionic application files index.html and services.js to use your current IP address.

Setup the application

  • Add a collection for newly created application (Manual step currently required). Please note, that names are case-sensitive and following names are all lowercase:

    • Login to LiveOak Console
    • Create new (basic type) application called "ionic"
    • Create new collection called "quiz" in its storage
    • To pre-populate data, import preferred (japanese hiragana or portuguese) lesson from the "lessons" folder. The import option is located in the dropdown menu on the right side of (yet still empty) data table (Next to the "Add column" and "Add row" buttons). Don't forget to click save once you imported the json file.

Running the application

If you're not familiar with the ionic framework, please go through its getting started or documentation. You need to add relevant platforms and/or install emulators. Everything you need to know is in the ionic documentation.

  • Start your application the same way you would start any ionic application, i.e. after adding android platform and connecting your smart-phone through USB:
$ ionic run android

About the application

This is an example of LiveOak based app running on Ionic platform.

Overview

This application is an example of so-called "drill" applications used for studying foreign vocabulary. It is inspired by the Langdrill application from Linux systems.

Test

To start learning the vocabulary, click on the "Start Quiz" button. The question (word to be translated) is printed on the top of the screen. The goal is to select the correct one from all the possible options. Each question is repeated until you correctly answer it for three times. Once you succeed to answer each question correctly three times in a row, this question won't be repeated again.

To stop the quiz, click the "Stop Quiz" button.

Vocabulary

Page used for listing the vocabulary.

Settings

The settings page has two options:

  • Number of choices - number of possible answers to a question.
  • Left to Right - Whether the "left" or "right" column is used as a question.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published