Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const express = require('express');
- const app = express();
- app.get('/', function(req, res) {
- res.send('Hello World!');
- });
- app.listen(3000, function() {
- console.log('Example app listening on port 3000!');
- });
- // run node app.js or node app in console
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement