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.
Menu