Express JS > Serving static files > Flashcards
Which middleware is used to parse static files?
app.use(express.static(‘absolute_folder_path_containing_all_the_static_files’))
How do you serve a static file to the client?
res.sendFile(‘absolute_file_path’)