This is a server that handles all the authentication and communication between the CodeDay POS app and Clear.
Run npm install. Make a config.json that looks like this:
{
"HOST": "http://localhost:3000",
"STRIPE_PUB_KEY": "pk_FAKEPUBLICKEY",
"STRIPE_SECRET_KEY": "FAKESECRETKEY",
"CLEAR_TOKEN": "CLEARTOKEN",
"CLEAR_SECRET": "CLEARSECRET",
"S5_TOKEN": "S5TOKEN",
"S5_SECRET": "S5SECRET"
}
Then run node init.
To run the server, run node index.
A good Dockerfile is included.
Content type
Image
Digest
Size
342.1 MB
Last updated
over 7 years ago
docker pull srnd/codeday-pos