The front-end page is separated from the background management system

excuse me, I want to separate the front-end page from the background management system. The background management system only jumps when the browser actively requests admin, so how to set it in node (if you use static, you can only use one). The things used are express + react, background management pages that you also want to use react to write.
Thank you

Feb.20,2022

  1. background management system is also a front-end page, right? So there is no front-end page and background management system.
  2. Jump when requesting admin unsolicited, which can be used to set admin routing in react-router.
  3. express only deals with the database interface, and the front end is all written in react.
  4. distinguishes admin pages from other front-end pages, which can be judged by the interface.
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-1e478f5-44c3b.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-1e478f5-44c3b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?