Skip to content

Instantly share code, notes, and snippets.

@jonasmodie
jonasmodie / App.js
Created July 10, 2018 23:06
computer science project
//loading modules
var createError = require('http-errors');
var http = require('http');
var express = require('express');
var path = require('path');
var cookieParser = require('cookie-parser');
var logger = require('morgan');
var session = require('express-session');
var indexRouter = require('./routes/index');