express js serve static file based on route code example
Example 1: express img folder
app.use(express.static('public'))
Example 2: static file
Static file is any content that can be delivered to an end user without
having to be generated, modified, or processed.