Skip to content

Instantly share code, notes, and snippets.

@jeantimex
Created June 7, 2020 22:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeantimex/9ef76a0c2579de64425ab0eb2fe91d45 to your computer and use it in GitHub Desktop.
Save jeantimex/9ef76a0c2579de64425ab0eb2fe91d45 to your computer and use it in GitHub Desktop.
const express = require('express');
const app = express();
app.use(express.static('public'));
app.get('/', (req, res) => {
res.send('An alligator approaches!');
});
app.listen(3000, () => console.log('Gator app listening on port 3000!'));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment