You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is critically important for vZome Online to support sharing via GitHub Pages, just as desktop vZome does. This has become a heavily used feature in desktop, at least among a few key Discord members.
GitHub provides Octokit, a nice, modern Javascript client library for using their REST APIs. They have two kinds of client apps they support, GitHub Apps and OAuth Apps, but they push the former pretty hard.
The GitHub App seems like more work for me, and perhaps even a confusing experience for vZome Online users, so I prefer to build an OAuth App. (I can always upgrade later, if it proves worthwhile.) Either way, it seems clear that I must have a server side for this purpose, to avoid sharing my CLIENT_ID and CLIENT_SECRET in Javascript going to the browser.
I did a minimum of searching around for cheap and simple solutions for deploying REST APIs, and I ended up trying Deno Deploy. It provides a good free tier, and a very nice experience. I expect to also have a Firebase back-end for cheap and simple storage of users' designs, and Firebase does provide integration with Google's Cloud Functions, but not in the free tier.
I expect that having a back-end service will simplify further integrations, such as additional Cloud storage options, or export/share options like Shapeways, Printables, and SketchFab.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
It is critically important for vZome Online to support sharing via GitHub Pages, just as desktop vZome does. This has become a heavily used feature in desktop, at least among a few key Discord members.
GitHub provides Octokit, a nice, modern Javascript client library for using their REST APIs. They have two kinds of client apps they support, GitHub Apps and OAuth Apps, but they push the former pretty hard.
The GitHub App seems like more work for me, and perhaps even a confusing experience for vZome Online users, so I prefer to build an OAuth App. (I can always upgrade later, if it proves worthwhile.) Either way, it seems clear that I must have a server side for this purpose, to avoid sharing my CLIENT_ID and CLIENT_SECRET in Javascript going to the browser.
I did a minimum of searching around for cheap and simple solutions for deploying REST APIs, and I ended up trying Deno Deploy. It provides a good free tier, and a very nice experience. I expect to also have a Firebase back-end for cheap and simple storage of users' designs, and Firebase does provide integration with Google's Cloud Functions, but not in the free tier.
I expect that having a back-end service will simplify further integrations, such as additional Cloud storage options, or export/share options like Shapeways, Printables, and SketchFab.
Beta Was this translation helpful? Give feedback.
All reactions