node js app.use express static code example
Example 1: use static with expres
app.use(express.static('directoryName'))
#store the files in the directory as if you were making a website without express
Example 2: app.use public
express.static(root, [options])