API for Scalecloud.de
Hello I'm the backend for www.scalecloud.de.
Frontent: https://github.com/scalecloud/scalecloud.de
Auth: Firebase
NoSQL: MongoDB-Atlas
Payment: Stripe
Running the API in Docker
docker pull scalecloudde/scalecloud.de-api:latest
https://hub.docker.com/r/scalecloudde/scalecloud.de-api
docker run -d --restart unless-stopped \
-p 15000:15000 \
--mount type=bind,source="<keys-dir>",destination=/app/keys \
--log-driver local --log-opt max-size=100m --log-opt max-file=2 \
--name scalecloud.de-api scalecloudde/scalecloud.de-api:latest
Folder <keys-dir>
The following files are required in the <keys-dir> folder:
Firebase: firebase-serviceAccountKey.json
MongoDB-Atlas X.509 Certificate: mongodb-atlas.pem
MongoDB-Atlas connection string: mongodb-atlas-connection-string.txt
Stripe: stripe-secret-key.txt
SMTP: smtp-credentials.json
SMTP Credentials File (smtp-credentials.json)
The smtp-credentials.json file should contain the following structure:
Example:
{
"host": "smtp.example.com",
"port": 587,
"username": "user@example.com",
"password": "yourpassword",
"from": "noreply@example.com"
}
SonarCloud.io
