A little todo experiment.
Requires node version 10.
npm install
Either make sure the environment variables are defined: CLIENT_ID, SECRET, PORT, JWE_KEY.
Or you need to manually create the src/env.js file:
module.exports = {
clientId: '...',
secret: '...',
port: 8080,
jweKey: '...'
}The jweKey should be set to the output you get from running the keygen:
npm run kegen
The entire json object that the script outputs is the key.
Start with npm:
npm start