Skip to content

This node.js application is useful to organize a group of people for collecting events. We use this to organize our pickers to collect the old christmas trees in Forchheim. The client is a simple webapplication, runs on every mobile device without installation. To get access as a picker, they can scan a printed QR-Code.

License

Notifications You must be signed in to change notification settings

tigerxy/cba-collector

Repository files navigation

cba-collector

This node.js application is useful to organize a group of people for collecting events. We use this to organize our pickers to collect the old christmas trees in Forchheim. The client is a simple webapplication, runs on every mobile device without installation. To get access as a picker, they can scan a printed QR-Code.

Installation

Node.js

Install packages

npm install

Run app normal

sudo npm run

Development

Node.js

Run app during development

sudo npm run dev

Typescript

Run watcher:

./node_modules/typescript/bin/tsc -w -p ./

Azure

Web-Service

TODO: descripe DNS entrys

SSH Key

Generate with Let's Encrypt SSL key.

Simpler solution without Docker could be the certbot program!

Docker command:

sudo docker run -it --rm --name certbot -v "etcletsencrypt:/etc/letsencrypt" -v "libletsencrypt:/var/lib/letsencrypt" certbot/certbot certonly --manual --preferred-challenges dns

This files are now generated:

cert.pem chain.pem fullchain.pem privkey.pem README

Find docker volume with generated keys:

docker volume inspect etcletsencrypt

Convert key:

openssl pkcs12 -certfile chain.pem -inkey privkey.pem -in cert.pem -export -out cert.pfx

Upload cert.pfx file to Azure an select it for cosumised domain.

About

This node.js application is useful to organize a group of people for collecting events. We use this to organize our pickers to collect the old christmas trees in Forchheim. The client is a simple webapplication, runs on every mobile device without installation. To get access as a picker, they can scan a printed QR-Code.

Resources

License

Stars

Watchers

Forks

Packages

No packages published