feat : Init Project
This commit is contained in:
8
nest-backend/src/index.ts
Normal file
8
nest-backend/src/index.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import 'dotenv/config';
|
||||
import app from './app.js';
|
||||
|
||||
const PORT = parseInt(process.env.PORT ?? '3000', 10);
|
||||
|
||||
app.listen(PORT, () => {
|
||||
console.log(`[server] Running on http://localhost:${PORT}`);
|
||||
});
|
||||
Reference in New Issue
Block a user