express static file javascript code example Example: serving static files with express app.use(express.static('public'));