Archived
backend init
This commit is contained in:
1 parent
2568e247b8
commit
3e62017db9
7 files changed
+18206
-11509
No files matched your search
@@ -0,0 +1,12 @@
|
||||
|
||||
const express = require('express')
|
||||
const app = express()
|
||||
const port = process.env.PORT || 3000
|
||||
|
||||
app.get('/', (req, res) => {
|
||||
res.send('Hello World!')
|
||||
})
|
||||
|
||||
app.listen(port, () => {
|
||||
console.log(`Example app listening at http://localhost:${port}`)
|
||||
})
|
||||
Reference in new issue
Block a user