This repository has been archived on 2024-10-29. You can view files and clone it, but cannot push or open issues or pull requests.
api/src/index.ts

9 lines
256 B
TypeScript
Raw Normal View History

2021-10-24 04:18:18 +02:00
import { application } from './application.js'
2023-04-02 23:45:47 +02:00
import { HOST, PORT } from '#src/tools/configurations.js'
2021-10-24 04:06:16 +02:00
2022-06-29 05:59:30 +02:00
const address = await application.listen({
port: PORT,
host: HOST
})
console.log('\u001B[36m%s\u001B[0m', `🚀 Server listening at ${address}`)