DEV Community

Discussion on: Intro to Building Rest APIs in Node with Express, Koa and Fastify

Collapse
 
lexiebkm profile image
Alexander B.K.

"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 ?

Collapse
 
alexmercedcoder profile image
Alex Merced

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