Node.js with Express Framework
Veröffentlicht am: 04. April 2020
Lesedauer: 1 Min.
mkdir myapp
cd myapp
npm init -y
npm install express
touch index.js
// inside index.js past the following code
const express = require('express')
const app = express()
const port = 3000
app.get('/', (req, res) => res.send('Hello World!'))
app.listen(port, () => console.log(`Example app listening at http://localhost:${port}`))
// in the Terminal enter the following command to start the Application
node index.js
Articles in related Categories
13. April 2020
13. April 2020
24. März 2020