Contents
Static File Serving
Serve uploads folder as static images
// index.js
app.use('/uploads', express.static('uploads'));
How to access those Images?
// page.jsx
<img src='http://localhost:8000/uploads/IMAGE_FILE_NAME' /> // IMAGE_FILE_NAME is stored in Mysql