feat: add api support and auth

This commit is contained in:
Matthieu Bessat 2020-07-10 22:44:01 +02:00
parent 31e4b854db
commit a244d98806
21 changed files with 585 additions and 63 deletions

18
.env.example Normal file
View file

@ -0,0 +1,18 @@
S3_ORGANIZATION_ID=
S3_ACCESS_KEY=
S3_SECRET_KEY=
MONGO_URI=mongodb://root:root@127.0.0.1:27017/forumvirt?authSource=admin
SMTP_HOST=
SMTP_PORT=
SMTP_USERNAME=
SMTP_PASSWORD=
SMTP_SECURE=false
ADMIN_TOKEN=pass
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=root