Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question on how to connect to REST endpiont #14

Closed
devoldski opened this issue Apr 5, 2021 · 1 comment
Closed

Question on how to connect to REST endpiont #14

devoldski opened this issue Apr 5, 2021 · 1 comment

Comments

@devoldski
Copy link

Hi there,

I have read through the contributing guidelines and issues here and i thought that i would post a question regarding how to use zuixjs with a rest api endpoint.

I have looked through the various pwa applications that are linked from this project and looked throgh the various tutorials however I have not been able to understand how to get data from an endpoint, manipulating the result and insert it into a template.

This might be due to the fact that I have not done much javascript before, and this might even be so simple that it is self explanatory. however I still try to ask here and hope for a positive answer.

Can you direct me towards some simple one page examples on how this is done using zuixjs?

Btw: the zuixjs library looks like a really nice lib for making simple js,html, css PWAs. thank you for making this project available.

@devoldski
Copy link
Author

fyi I have cloned the zuix-html-pwa and see that the rss are fetched and also changed into Json object. However my limited knowledge makes it hard for me to understand how to set this up in a good way in a single page and understanding how to use the page.html and page.js to make this happen.

I'm trying to fetch an article element with the following keys: id, title, content, updated

thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants