How to make a CNC on a site written in Node.js?

Please tell me how the site is written in Node.js, implemented by cnc?

Author: mymedia, 2017-10-20

1 answers

Through req.url, you determine what comes to the input, and then you write the logic depending on the structure of your site (you request data from the database, the page template, connect the necessary modules).

As a rule, in such cases, you also need a separate table for mapping the path part of the address with different types of output data (information page, user profile, publication feed, etc.)

 1
Author: Dmitry Maslennikov, 2017-10-25 21:00:29