deploying custom app

Hi Shopify Community,

I’m currently working on deploying a custom Shopify app (webshop) and could use some help and guidance from those more experienced. Here’s a brief overview of my setup and the challenges I’m facing:

Project Overview- Backend: Node.js

  • Frontend: React
  • Storefront: Custom storefront integrated with Shopify Storefront API

What I’ve Done So Far1. Set up the Node.js backend:

  • Installed necessary dependencies.
  • Configured environment variables.
  • Set up a server.
  1. Developed the React frontend:
    • Created the React app.
    • Connected the frontend to the backend using Axios for API calls.
    • Developed components to display Shopify products.

Challenges I’m Facing1. Authentication: Managing authentication and secure communication between the frontend, backend, and Shopify.

  1. Deployment Best Practices: Tips on best practices for deploying and maintaining the app in a production environment.
  2. App Installation: Best practices for setting up the app URL and ensuring smooth installation on Shopify stores.

Questions1. Authentication: How should I handle authentication securely between my Node.js backend and the Shopify API?

  1. Deployment: Any advice on ensuring reliable and scalable deployment for both the backend (Node.js) and frontend (React)?
  2. Shopify App Installation: Are there any specific steps or configurations I should be aware of when installing the app on a Shopify store?

I appreciate any help, advice, or resources you can share. Thanks in advance for your support!

Best regards,
Wassim Fouad

Hi WassimF,

Follow this document. I have deployed on digital ocean before.

https://shopify.dev/docs/apps/launch/deployment/deploy-web-app/deploy-to-hosting-service