Add page to merchant theme

59 6 8

Hi Shopify Community!

I'm not sure if this is the right place to post my question, but here goes:

I'm currently learning how to create an app using React and Node.

I want to add a custom page to the merchant's theme and don't know if this is possible.

My research has led me to a couple of loose ends where the Shopify blog was talking about sections. How do I add a section through my app? I can't seem to be able to find clear instructions or some code that I understand. I wouldn't be asking if I thought I could do it but hopefully someone will reply with something useful. Is there a way to dynamically add sections without having the user to go add the section manually through the theme editor? If theme editor is the only way should I ask him, after installing my app, to add those sections? How do I even go about editing Liquid code with my app?

Thanks in advance!