eletrotupi / tcc/ api/src/index.ts0cf854c934d9213cafffde1bada0ac913e4716ab
187 B | 10 lines Raw
1
import { createApp } from '@app/createApp';
2

3
const port = process.env.PORT || 3000;
4

5
const app = createApp();
6

7
app.listen(port, () => {
8
  console.log(`Server booted on port ${port}`)
9
})
10