added express api

This commit is contained in:
Mike
2021-12-08 06:53:29 -05:00
parent fdd28c9b4d
commit 084cfed12d
5 changed files with 893 additions and 0 deletions

7
index.js Normal file
View File

@@ -0,0 +1,7 @@
const express = require('express')
const app = express()
app.all('/', (req, res) => {
console.log("Just got a request!")
res.send('Yo!')
})
app.listen(process.env.PORT || 3000)