backend init

This commit is contained in:
Maciej Kotowski committed 2021-10-01 19:38:10 +02:00
1 parent 2568e247b8
commit 3e62017db9
7 files changed
+18206 -11509

No files matched your search

+12
View File
@@ -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}`)
})