The goal is to display custom customer data inside /account
securely.
The user will need to login in Shopify store to access the route.
The data is tied to the Customer's email address in the server. So I'll do GET request with email address in the request URL.
In the /account
liquid template I'm using Vue component. It will handle the request to a NodeJS API (I'm using feathers/express).
So far I read about App Proxy and App Bridge, but I don't know how those will fit here.
The main problem:
How do I secure the API to make sure only the logged in Shopify customer can get their own data inside the store? How do I verify the user and making sure the API only accessible via the store?
Note: I'm really new to Shopify. Please explain with more details. Thanks.