mirror of
https://github.com/wkulhanek/bonob.git
synced 2025-12-22 01:43:29 +01:00
Remove python, replace with ts
This commit is contained in:
11
src/app.ts
Normal file
11
src/app.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import {createServer} from './utils/server'
|
||||
|
||||
createServer()
|
||||
.then(server => {
|
||||
server.listen(3000, () => {
|
||||
console.info(`Listening on http://localhost:3000`)
|
||||
})
|
||||
})
|
||||
.catch(err => {
|
||||
console.error(`Error: ${err}`)
|
||||
})
|
||||
Reference in New Issue
Block a user