Implement auth with jwt and add endpoints

This commit is contained in:
2020-05-08 13:12:10 +02:00
parent fce5a162d3
commit 4b5a5b2477
8 changed files with 218 additions and 3 deletions

View File

@@ -2,5 +2,6 @@ module.exports = {
jwt_secret: process.env.JWT_SECRET,
port: process.env.PORT || 3001,
db_url: process.env.DATABASE_URL,
environment: process.env.NODE_ENV,
environment: process.env.NODE_ENV || 'development',
saltingRounds: process.env.SALTING_ROUNDS || 10,
};