Skip to content

Instantly share code, notes, and snippets.

@gabri83
Created August 13, 2025 08:18
Show Gist options
  • Select an option

  • Save gabri83/261bb9e658e556cd8bf60162e0d492a4 to your computer and use it in GitHub Desktop.

Select an option

Save gabri83/261bb9e658e556cd8bf60162e0d492a4 to your computer and use it in GitHub Desktop.
Node.js: Simple Express Server
const express = require('express');
const app = express();
app.get('/', (req, res) => res.send('Hello World!'));
app.listen(3000, () => console.log('Server running on port 3000'));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment