-
Notifications
You must be signed in to change notification settings - Fork 329
Angular example #34
Comments
@JsssCode Hi, thanks for this example App. It is useful for me, because i'm developing an Shopify App using Ionic 3. |
@magic-77 Great that it helps you. No, I didn't work on this |
@JsssCode Hi, i refactored my app, now using Storefront API + Admin API. This works much better |
@magic-77 can you please show how you got the admin api to work. for now i'm struggling with types.ts, how can i generate that file for the admin graphql client? |
@ribalnasr You can fetch it this way:
To get the right URL for https://apikey:password@, login to Admin and copy it from the Field "Example url" |
@magic-77 can you stay with me on this one please, am extremely new to graphql. this line does not work: Error: Cannot find module 'commander' when i try to run it without however i believe what am looking for is a .ts file like this one |
You have to convert json schema to types like this
|
Thanks for example |
Closing since the Angular example has been merged. |
@JsssCode your angular 4 code is helpfull for me , |
@Dharma-DX I didn't face CORS problem for Shopify, but you could try to run Chrome without CORS, like described here https://alfilatov.com/posts/run-chrome-without-cors/ |
I have developed Angular 4 Storefront API example https://github.com/JsssCode/SmallAwesomeShop.
Maybe it would be helpful to someone.
Looking forward to adding it to this repo!
The text was updated successfully, but these errors were encountered: