a full-featured starter template for PocketBase+SvelteKit #702
Replies: 7 comments 4 replies
-
The |
Beta Was this translation helpful? Give feedback.
-
Just to follow up on @ganigeorgiev's comment, I added this repo to https://github.com/benallfree/awesome-pocketbase. The awesome-pocketbase repo might be another place where sample projects and dockerfiles could live if that seems like the right place. |
Beta Was this translation helpful? Give feedback.
-
Thank you @ganigeorgiev for the response. And thank you @benallfree for including my project in your awesome list. Actually, I just pushed a config-driven hooks system to my project repo. Which means you can now enter a record into a "hooks" table indicating which event (insert/update/delete) on which table should trigger a command or a webhook post. Example: run a script when a record is updated in the "posts" table Example: post to a webhook when a record is updated in the "posts" table I learned a lot about handling pipes and external command execution in Go routines in the process. Hopefully, people find it useful. |
Beta Was this translation helpful? Give feedback.
-
Hi all, I have posted a major update to this project: https://github.com/spinspire/pocketbase-sveltekit-starter
Please check it out and suggest improvements / new features you'd like to see in the project discussions. |
Beta Was this translation helpful? Give feedback.
-
Hey so I was wondering how Sveltkit static could integrate into a backend also. I mean, is there any kind of way to fill it up with data even if it's just a title? Can it be filled with environment or config variables while still being static? |
Beta Was this translation helpful? Give feedback.
-
@dschissler it is already supported! 😃 Meaning, the project is setup to SSG/prerender HTML pages into the |
Beta Was this translation helpful? Give feedback.
-
Yes. Most of our |
Beta Was this translation helpful? Give feedback.
-
I just wrote a starter template project showing the best features of - https://github.com/spinspire/pocketbase-sveltekit-starter
It works well for me. But it's very new. So please give it a try and provide feedback in issues and discussions for the project.
In addition to 3 detailed README files (project+frontend+backend), it has the following features:
air.toml
configuration@ganigeorgiev I'd be very happy if you include it in an "examples" folder for your project. And I'd happily add more demo features that you might suggest. I might even be doing things incorrectly, so any feedback would be much appreciated.
Beta Was this translation helpful? Give feedback.
All reactions