Setup ESLint + Prettier, Re-setup Express

This commit is contained in:
wancat committed 2023-07-14 21:19:53 +08:00
1 parent f32fcd2508
commit ad4dc6d576
17 files changed
+1722 -613

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
import express from 'express'
const app = express()
const port = 3000
app.get('/', (req, res) => {
res.send('Hello World!')
})
app.listen(port, () => {
console.log(`Server listening at http://localhost:${port}`)
})