|
|
- const express = require('express');
- const app = express();
- const http = require("http");
- const server = http.createServer(app);
-
- app.get('/', (req, res) => {
- res.send('<h1>Hello new user!!</h1>');
- });
-
- server.listen(3030, () => {
- console.log('listening on beaglebone.local:3030');
- });
-
|