11 lines
No EOL
179 B
JavaScript
11 lines
No EOL
179 B
JavaScript
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!")
|
|
}) |