1
0
mirror of https://github.com/sasjs/server.git synced 2026-01-07 06:30:06 +00:00
Files
server/api/src/server.ts
2021-11-14 21:12:10 +05:00

11 lines
242 B
TypeScript

import appPromise from './app'
appPromise.then((app) => {
const sasJsPort = process.env.PORT ?? 5000
app.listen(sasJsPort, () => {
console.log(
`⚡️[server]: Server is running at http://localhost:${sasJsPort}`
)
})
})