express public js code example Example: express public app.use(express.static(__dirname + '/public'));