make webserver
This commit is contained in:
parent
98eb44bdcf
commit
98853dc0e8
1 changed files with 11 additions and 0 deletions
11
index.js
11
index.js
|
@ -0,0 +1,11 @@
|
|||
const express = require('express')
|
||||
|
||||
const PORT = process.env.PORT || 8080
|
||||
|
||||
var app = express()
|
||||
|
||||
|
||||
|
||||
app.listen(PORT, () => {
|
||||
console.log("API is now listening on port 8080!")
|
||||
})
|
Loading…
Reference in a new issue