How to deploy the node front-end and back-end code using nginx as a proxy?

how to deploy node front-end and back-end code using nginx as a proxy?
if you just upload the file dist packaged by webpack to nginx, only static pages will appear without background effect
how to achieve this function?

Mar.03,2021

webpack is just a package of dependent resources, and your back-end code can be deployed separately.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b31b95-2bdb4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b31b95-2bdb4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?