Created
November 30, 2020 20:34
-
-
Save codyzu/e0a8a35800cd441f11e615a7cf592dac to your computer and use it in GitHub Desktop.
Exam 1 Express Server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const express = require('express') | |
const app = express() | |
app.get('/', function (req, res) { | |
res.send('Hello World!') | |
}) | |
// 👉👉 ADD YOUR ROUTE HERE! 👈👈 | |
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