implemented a simple backend for mobile banking
This commit is contained in:
10
src/config/config.js
Normal file
10
src/config/config.js
Normal file
@@ -0,0 +1,10 @@
|
||||
const dotenv = require('dotenv');
|
||||
const path = require('path');
|
||||
|
||||
dotenv.config({ path: path.resolve(__dirname, '../../.env') });
|
||||
|
||||
module.exports = {
|
||||
port: process.env.PORT || 8080,
|
||||
dbUrl: process.env.DATABASE_URL,
|
||||
jwtSecret: process.env.JWT_SECRET,
|
||||
};
|
||||
Reference in New Issue
Block a user