Skip to content

doga/qworum-application-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 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.

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.

License

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