const DB = require('./Persistence/database');
require('dotenv').config();
const App = require('./app');

DB.init().then((db) => {
  App(db).listen(3000);
});

const DB = require('./Persistence/database');
require('dotenv').config();
const App = require('./app');

const port = process.env.PORT || 3000;

DB.init().then((db) => {
  App(db).listen(port, () => {
      console.log(`Secure Drop running on port ${port}`);
  }); 
});

Add support for port changing
Add support for port changing
