New app using Rails API + React

Shopify Partner
4 0 0

Hi, guys!


I'm struggling trying to create a new embedded app using a Rails API app with a client application within it created in React.


I have a big problem now:

When I try to access the app I created in the partners page in my development store, the NGROK url is loaded and I can see the "Hello World" message but when I redirected to the Shopify Admin, I see the following message: "The page you’re looking for couldn’t be found". I'm using the Polaris' <AppProvider>.


And I have some doubts:

1) How the best way to handle the authorization? From the backend rails api or from the react client?

2) Can I use the shopify_app gem in my rails api app?


Thanks for your help,