Building a Shopify App: React & Node.js vs. Node.js & Express

Highlighted
Excursionist
23 4 1

This is a general question as I'm building an app with the former though my experience is more robust with the latter. I read in the Github code for Express that it was deprecated due to security issues. Is this still the case and is it recommended to use Node/React or is it just as valid to use Node/Express?

You are phoenix
0 Likes
Shopify Staff
Shopify Staff
25 4 4

Hi @jenn11!

 

React is a front end library and express is a framework for node. Can you point me to the documentation you read?

 

0 Likes
Excursionist
23 4 1

@katiedavis sure, here's the tutorial https://help.shopify.com/en/api/tutorials/build-a-shopify-app-with-node-and-express and the archived Github project https://github.com/Shopify/shopify-node-app.

 

edit: I also found this Github project using Express that has been deprecated as well: https://github.com/Shopify/shopify-express

You are phoenix
0 Likes
Trailblazer
647 162 195
Hi, @jenn11 ,
This is Evita from On The Map.
 
Have you tried using Shopify App CLIShopify App CLI helps you build Shopify apps faster. It automates many common tasks in the development process and lets you quickly add popular features, such as billing and webhooks.
 
Best,
Evita
 
On The Map Marketing | Developing custom Shopify Sites & Apps is our thing

- Install our latest app Accessibly - Makes your store accessible for everyone, helps to avoid fines
- Inc 5000 | Shopify Parners | 20+ stores launched | 300+ active clients
- Need help with your Shopify store? Reach out to us!
0 Likes
Shopify Staff
Shopify Staff
25 4 4

Hey Jenn! There's no security issue that I know of using express. The express project was deprecated in favour of the koa package:

https://github.com/Shopify/quilt/tree/master/packages/koa-shopify-auth

if you'd like a tutorial using that package feel free to checkout this tutorial:

https://developers.shopify.com/tutorials/build-a-shopify-app-with-node-and-react

0 Likes