javascript
Basic server configuration in Nodejs
const http = require('http');
const app = require('./app');
const port = process.env.PORT || 3500;
const server = http.createServer(app);
server.listen(port);
Basic server configuration in Node js
Was this helpful?
Similar Posts