QR-code manager with multi-tenant support.
This project is sponsored by the bioprocess technology division of the ZHAW.
LabTrail is the central platform to manage the destinations of QR-Codes. Register new QR-Codes and define multiple link targets. Manage users and assign them to tenants. Switch easily between tenants and their active QR-Code category.
Open https://labtrail.app/ in your browser and login with username
firstname.lastname@example.org and password
For search performance text indexes are required on every mongodb collection. Index the following fields:
categories.name documents.title tenants.name stations.name user.firstname user.lastname user.email
MONGODB_URI=mongodb://USERNAME:PASSWORD@URL:PORT/DATABASENAME JWT_SECRET=SECRET_KEY # Docker deployment: API_VERSION=X.X.X APP_VERSION=X.X.X QR_VERSION=X.X.X REGISTRY=URI
Checkout each packagefolder for environment variable definitions.
Install package dependencies with yarn workspace.
Run the development server.
Every package can be developed standalone.
Configure the package environment variables and start the development server.
Run the linter first.
Configure the package environment variables and then run the tests.
Configure the environment variables and deploy with now.
Configure the environment variables for docker and build the images.
yarn docker-build-api yarn docker-build-app yarn docker-build-qr
Run docker compose to test.
yarn docker-tag-api yarn docker-tag-app yarn docker-tag-qr
Publish images to registry.
yarn docker-publish-api yarn docker-publish-app yarn docker-publish-qr
Pull images from registry.
yarn docker-pull-api yarn docker-pull-app yarn docker-pull-qr