X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=README.md;h=a26d4a60f3f3439fdfa8e9768322b86e417597a6;hb=3c547e314b79a31fb3f15412a47707a22dc3eefd;hp=c7e805a64faf856245c3896ce23ffcdf188729cb;hpb=c4d2acfc78cc8b67649c2eaa60a8c6c34c3e6675;p=websub-hub diff --git a/README.md b/README.md index c7e805a..a26d4a6 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,8 @@ Database table initialization and schema version migrations are automated. Conf A user will need to be created in order to view the `/admin` pages; the `bin/authAddUser.js` script will do this. +An IndieAuth profile may be used to view any topics associated with that profile. + The bundled logger spews JSON to stdout. ### Quickstart Example @@ -36,6 +38,7 @@ One way of deploying this server is behind nginx, with the pm2 package to manage > 'use strict'; > // Minimum required configuration settings > module.exports = { + > encryptionSecret: 'this is a secret passphrase, it is pretty important to be unguessable', > dingus: { > selfBaseUrl: 'https://hub.squeep.com/', > }, @@ -126,6 +129,7 @@ This implementation is built atop an in-house API framework, for Reasons. It wo - *.js - environment specific values, edit these as needed - server.js - launches the application server - src/ + - authenticator.js - interact with credentials and validation mechanisms - common.js - utility functions - communication.js - outgoing requests and associated logic - db/ @@ -146,7 +150,9 @@ This implementation is built atop an in-house API framework, for Reasons. It wo - logger.js - a very simple logging class - manager.js - process incoming requests - service.js - defines incoming endpoints, linking the API server framework to the manager methods + - session-manager.js - process login/logout requests - template/ - HTML content - worker.js - maintains a pool of tasks in progress, for sending out updates, performing verifications, et cetera +- static/ - static assets - test/ - unit and coverage tests - test-e2e/ - support for whole-service testing