benallfree / awesome-pocketbase

A collection of PocketBase community resources.
Creative Commons Zero v1.0 Universal
750 stars 48 forks source link

Added Pocketsync, a script used for syncing the schemas of different pocketbase instances. #14

Closed snorresovold closed 1 year ago

snorresovold commented 1 year ago

I added the script I said I was going to build Here: https://github.com/benallfree/pockethost/discussions/189#discussioncomment-5072473

benallfree commented 1 year ago

Hey, thanks for the contribution!

This project appears to be a single snippet of code exporting a schema from one instance and importing it to another.

If that's all it is, I think this would be better as a gist or code sample in a readme rather than a whole project. Also, it seems there are node_modules and other unnecessary files included in the repo.

Closing this PR for now.

snorresovold commented 1 year ago

Hey, thanks for the tip about the node modules and other files, I'm new to contributing and didn't realise i don't need those.

Also, the project isn't complete. I am thinking about making a CLI and allowing for syncs of other entities, such as data and settings. But for now it's just the schema. I guess i'll make another pr when more of those features are done.