// projectDirectory/src/index.js
const path = require('path')
const publicDirectoryPath = path.join(__dirname, '../public')
app.use(express.static(publicDirectoryPath))
// projectDirectory/public -> create index.html
// localhost:3000/index.html -> Here you go..
app.use('/', express.static('public'));