Demo App

Highlighted
Shopify Partner
23 0 0

Hi All, 

               I am trying to learn apps development on Shopify using React/Polaris/Node with Postgres database. I would appreciate if any one having a demo app source code or any learning material. Paid ones are also fine for me.

 

Kind Regards,

Mazen

0 Likes
Highlighted
Shopify Partner
723 107 279
Have you seen this? https://github.com/Shopify/shopify-demo-app-node-react
If helpful then please Like and Accept Solution
Highlighted
Shopify Partner
23 0 0

Thanks @JonWright  for your reply. I've gone through it but I have a problem connecting to Postgres and using Polaris with crud operations on Postgres. If you know how to do it I would appreciate sharing your thoughts !

0 Likes
Highlighted
Shopify Partner
3 0 2

Here is a tutorial help you build a restful service with nodejs and PostgreSQL.

https://blog.logrocket.com/setting-up-a-restful-api-with-node-js-and-postgresql-d96d6fc892d8/

 

And you can use this lib for connection pg

https://node-postgres.com/

 

Polaris is only a front-end framework. If you want to support a CRUD service, you need to learn a little more other technologies.

 

 

Fred@Sea Apps Inc.
0 Likes
Highlighted
Shopify Partner
23 0 0

Thanks @Sempr  for sharing. Do you mean Polaris elements like "text field" can't be used as normal HTML elements for form submission or displaying data from other data sources like Postgres database? I am still new to all this but logically I think it should support. I would appreciate more clarification.

0 Likes
Highlighted
New Member
2 0 1

@MazenMustafaI am working on a similar project, It would be great if you can share GitHub link of your project. Thanks!

0 Likes