Skip to content

doga/qworum-application-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

47 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Qworum logo and name

Basic template for Qworum-based web applications

This is a template for a website that uses Qworum's advanced web browser capabilities.

This template is:

  • Multi-language, with language-independent API endpoint paths.
  • Versioned. Indeed, Qworum applications are structured as Qworum APIs, and versioned APIs ensure that other applications that depend on this one will not break after an update.

This project has a companion project that uses semantic data (RDF) instead of JSON.

The "Hello World" Qworum application

This website implements a Qworum API that has 2 endpoints:

  • the home endpoint, which is an application, and
  • the view-item endpoint, called by home.
classDiagram
    class Application {
        +home()
        +Json(null) viewItem(Json itemId)
    }
Loading

Here is the directory structure:

  • Directories with 2-letter names such as en contain language-specific versions of the API endpoints.
  • assets contains resources used by the web pages.
  • All other directories (home, view-item) are the official endpoint paths; they are only used for redirecting API calls to language-specific endpoint versions.

To do

Implement a login endpoint:

License

This software is released under the terms of the Apache 2.0 license.

โˆŽ

About

A template for Qworum applications/services/APIs. ๐Ÿ”— Link to live demo below (โš ๏ธ open in a new window rather than a new tab, unless the browser's "memory saver" feature is disabled or this is a short session of less than a couple minutes; browsers can delete long-running Qworum sessions at will if they are in hidden tabs):

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors