Skip to content

Instantly share code, notes, and snippets.

@DavidDeCoding
Created March 27, 2022 06:08
Show Gist options
  • Save DavidDeCoding/0db6fba3fcf19a2b7d62f3ce6233b23c to your computer and use it in GitHub Desktop.
Save DavidDeCoding/0db6fba3fcf19a2b7d62f3ce6233b23c to your computer and use it in GitHub Desktop.
Sample ExpressJS Web Application
const express = require('express');
const app = express();
const port = 80;
app.get('/', (req, res) => {
res.send("Hello World!");
});
app.listen(port, () => {
console.log(`Example app listening on port ${port}`);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment