1
0
Fork 0

wip(backend): Work on routes, auth, and email templates

This commit is contained in:
joostdecock 2022-11-05 18:55:59 +01:00
parent a4a453df00
commit 0313bb4572
37 changed files with 1610 additions and 1068 deletions

View file

@ -33,6 +33,19 @@ const config = {
audience: process.env.API_JWT_ISSUER,
expiresIn: process.env.API_JWT_EXPIRY || '7d',
},
apikeys: {
levels: [0, 1, 2, 3, 4, 5, 6, 7, 8],
expiryMaxSeconds: 365 * 24 * 3600,
},
roles: {
levels: {
user: 4,
bughunter: 5,
support: 7,
admin: 8,
},
base: 'user',
},
languages: ['en', 'de', 'es', 'fr', 'nl'],
aws: {
ses: {