Skip to content

Commit d588c29

Browse files
author
Victor
committed
feat: add file to start the server using express
1 parent 70cfb2d commit d588c29

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/index.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import 'dotenv/config';
2+
import express from 'express';
3+
4+
const app = express();
5+
const SERVER_PORT = process.env.SERVER_PORT;
6+
7+
app.listen(SERVER_PORT, () => console.log(`Server is running! Port: ${SERVER_PORT}`));

0 commit comments

Comments
 (0)