10 lines
283 B
JavaScript
10 lines
283 B
JavaScript
require('dotenv').config()
|
|
console.log('APP_PORT:', process.env.APP_PORT)
|
|
|
|
const bootApplication = require('./index')
|
|
console.log('Index loaded, booting...')
|
|
|
|
const port = process.env.APP_PORT || 3002
|
|
bootApplication(port)
|
|
console.log(`✅ Server should be running on port ${port}`)
|