backend/config/config.js

8 lines
230 B
JavaScript

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