<aside>
</aside>
Create a new project for Node.js Project
npm init -y
Install an Express
npm install express
Create a new file
const express = require('express')
const app = express()
const port = 3000
app.get('/', (req, res) => {
res.send('Hello World!')
})
app.listen(port, () => {
console.log(`Forbear app listening on port ${port}`)
})
Run the code.
node app.js
Open the browser and search localhost:3000