The server provides a simple REST API for user management and powerUp suggestions. It's backed by Redis for fast permanent storage and based on Deno for low latency.
Optionally a server access token can be set to keep out unknown users. If that's enabled then an X-Access-Token
header will be required for every request.
Config can be passed via environment variables:
CFP_REDIS_HOST
CFP_REDIS_PORT
CFP_REDIS_USERNAME
CFP_REDIS_PASSWORD
CFP_SERVER_ACCESS_TOKEN
(optional)
To start the server locally for development, run deno task start
. This will watch for file changes and restarts the server.
Tested with Deno Deploy.