Using Node to build a website, does foreground rendering require each article to set up a separate url interface and html document?

seniors, I am learning how to use Node to build a website. I encounter a very confused problem that cannot be solved. I hope to get some advice from my seniors

there are several a tag connections below. I want to click on the connection to jump to the foreground html to render with AngularJs, but in this way, each connection can only correspond to one html page, and each html page can only have one interface. Is there any way to connect to the same html page no matter which a tag is clicked, but determine the rendered content according to the different interfaces? Thank you very much!

a tag

clipboard.png

AngularJs

clipboard.png

express

clipboard.png

Mar.03,2021

whether it is rest api or "?" requests with parameters, the core idea is to process url of the article type, and the parsing parameter returns the corresponding article


traditionally followed by url? And & to send the desired article to the background, such as www.xxx.com/get?sort=javascript&page=1,
, and then parse the url in the background, look up the article information in the database according to the content, and then relax and render it to the foreground, or the server. Of course, now we can also use the method of dynamic routing. We can construct the url as: www.xxx.com/get/javascript/1 is also the first article below to obtain the javascript classification, such as the dynamic routing method also used in this community.
but not that way, the foreground constructs a url, and then the background parses the url according to different information. Find different content and render it to the foreground


the background needs to know some information in order to pass the appropriate data to the foreground. This is the premise of guarantee.
according to the stateless feature of http, it is generally necessary to ensure that the same URI obtains the same content (regardless of time and address)
what the backend returns to the foreground, and whether it is the same basic html plus some specific data, which is completely controllable by the backend.

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-1b3bf0d-2ba4f.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-1b3bf0d-2ba4f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?