/* AIDA Source Code */
/* Contributors located at: github.com/2nd47/CSC309-A4 */

// main app

// server modules
var bcrypt = require('bcryptjs');
var express = require('express');
var mongoose = require('mongoose');
var session = require('express-session');
var validator = require('validator');
var qs = require('querystring');

// testing modules
var testCase = require('mocha').describe;
var pre = require('mocha').before;
var assertions = require('mocha').it;
var assert = require('chai').assert;

// module init
var app = express();
// router import keeps main file clean
var router = require('./router');
var db = require('../db/db.js');

// app init
const APP_PORT = process.env.port || 3000;
const saltRounds = 10;

function init() {
  return;
}

function main() {
  init();
  app.use('/', router);
  app.listen(APP_PORT);
  console.log('Server listening on port ' + APP_PORT);
}

main();

/* AIDA Source Code */
/* Contributors located at: github.com/2nd47/CSC309-A4 */

// main app

// server modules
var bcrypt = require('bcryptjs');
var express = require('express');
var mongoose = require('mongoose');
var session = require('express-session');
var validator = require('validator');
var qs = require('querystring');

// testing modules
var testCase = require('mocha').describe;
var pre = require('mocha').before;
var assertions = require('mocha').it;
var assert = require('chai').assert;

// module init
var app = express();
// router import keeps main file clean
var router = require('./router');
var db = require('../db/db.js');

// app init
const APP_PORT = 3000;
const saltRounds = 10;

function init() {
  return;
}

function main() {
  init();
  app.use('/', router);
  app.listen(APP_PORT);
  console.log('Server listening on port ' + APP_PORT);
}

main();

Revert "use environment variable for port"
Revert "use environment variable for port"

This reverts commit 03abed36a666e1bd0e422b3eb7a0602905d57de5.
