Commit a81e7466 authored by Porter Libby's avatar Porter Libby
Browse files

npm boilerplate

parent 1de5fff0
const express = require('express');
var path = require('path');
const app = express();
app.set('view engine', 'ejs');
app.get('/', function(req, res) {
app.use(express.static(__dirname + '/public'));
app.listen(process.env.PORT || 3000, function(){
console.log("Express server listening on port %d in %s mode", this.address().port, app.settings.env);
\ No newline at end of file
"name": "datavis",
"version": "1.0.0",
"description": "A tool for visualizing the data collected from the IFS Earlham trip",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"repository": {
"type": "git",
"url": "git+"
"author": "",
"license": "ISC",
"bugs": {
"url": ""
"homepage": ""
<!DOCTYPE html>
<html lang="en" dir="ltr">
<meta name="viewport" >
<script src="" type="text/javascript"></script>
<script type="text/javascript" src="js/main.js"></script>
<link rel="stylesheet" type="text/css" href="css/main.css" />
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment