amastellone / mail-funnel-client

Mail-Funnel, a Shopify Embedded App available in the Shopify App Store
2 stars 3 forks source link

Add App Table to Client + Update all calls to DB on client to implement the App param #16

Closed vaskaloidis closed 7 years ago

vaskaloidis commented 7 years ago

After we researched the deployment process for the Shopify App-Store, we found that the clients are not individually deployed to each Shopify Store. Unlike, for example, the Apple App Store where the client is downloaded to each client-device, Shopify apps simply authenticate against the app, and then they access the hosted app remotely.

Due to this, we need to add an Apps table to the client that has a 1:1 relationship with the Shops table, and a 1:1 relationship with the server Apps table. This will be really simple, and so we should do it towards the end.

We then need to add an App column to each other client model and create the relationship to the App table.

vaskaloidis commented 7 years ago

This needs to be done alongside #23

vaskaloidis commented 7 years ago

Moved Campaign model from client to server