Skip to content

Instantly share code, notes, and snippets.

@bmorelli25
Created June 24, 2017 15:49
Show Gist options
  • Save bmorelli25/ec53a9eb291b4b8c8d99488758f8011d to your computer and use it in GitHub Desktop.
Save bmorelli25/ec53a9eb291b4b8c8d99488758f8011d to your computer and use it in GitHub Desktop.
weather website partial
const express = require('express');
const app = express()
app.use(express.static('public'));
app.set('view engine', 'ejs')
app.get('/', function (req, res) {
res.render('index');
})
app.listen(3000, function () {
console.log('Example app listening on port 3000!')
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment