InseeFr / Queen

Web application for the management of questionnaires powered by Lunatic

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Queen

Web application for the management of questionnaires powered by Lunatic (https://github.com/InseeFr/Lunatic)

Build Coverage Quality Gate Status License: MIT

A demo of this application can be found by the following this link.

Quick start :

You can choose your configuration in the configuration.json file. There are three environments variables :

Variable Value Default
QUEEN_URL Final URL of the Queen application http://localhost:5000
QUEEN_API_URL URL of the back-office of Queen https://queen-bo.dev.insee.io
authenticationType The mode of authentication: 'NONE' or 'OIDC' NONE

With node :

For node : default values of the configuration are defined in configuration.json file.

With docker :

For docker : default values of the configuration are defined in .env file.

To override environments variables you can do :

  • docker run -p 80:80 -e QUEEN_URL=http://override.value.com -e QUEEN_API_URL=... -e authenticationType=... -t inseefr/queen

As Web Component (micro-frontend)

If Queen is deployed at http://localhost:5000, just add this line to your index.html to load Queen :

<script src="http://localhost:5000/entry.js"></script>

And to use Queen, add the queen-app tag :

<queen-app></queen-app>

Full documentation

The documentation can be found in the docs folder and browsed online.

About

Web application for the management of questionnaires powered by Lunatic

License:MIT License


Languages

Language:JavaScript 97.6%Language:Shell 0.9%Language:Smarty 0.8%Language:HTML 0.5%Language:Dockerfile 0.2%