"If we weren't build an API but instead rendering pages on the server there would be two additional routes. New, which renders a page with a form to create a new object, submitting the form triggers the create route. Edit, which renders a page with a form to edit an existing object, submitting the form triggers the Update route. "
I call this a full-stack , stand alone application like I did in my last project using PHP and Laravel at the backend, React at the frontend.
What template engine do you recommend for rendering pages on the server : Pug, Ejs, others ?
I like to code, teach and promote. Subscribe to the Web Dev 101 and Datanation podcasts. Blogs and videos at devNursery.com and GrokOverflow.com. Find everything at AlexMerced.com
"If we weren't build an API but instead rendering pages on the server there would be two additional routes. New, which renders a page with a form to create a new object, submitting the form triggers the create route. Edit, which renders a page with a form to edit an existing object, submitting the form triggers the Update route. "
I call this a full-stack , stand alone application like I did in my last project using PHP and Laravel at the backend, React at the frontend.
What template engine do you recommend for rendering pages on the server : Pug, Ejs, others ?
I like them all but I mostly have used EJS, but been using liquid a lot since itβs also heavily used in Shopify websites