how to use a js file in express js 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])