Skip to content
Snippets Groups Projects
Commit 5f370a1c authored by Federico Luis Hurtado's avatar Federico Luis Hurtado
Browse files

Basic hello world index.js

parent 772e2fbc
No related branches found
No related tags found
No related merge requests found
index.js 0 → 100644
const express = require('express');
const app = express();
const port = process.env.PORT || 3000;
app.get('/', (req, res) => {
res.send('Hello World!');
});
app.listen(port, () => {
console.log(`Server is running on port ${port}`);
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment