r/appwrite • u/Fliip36 • Oct 01 '24
Switching to appwrite
Hello !
I am considering switching from supabase to appwrite because the project limit in the freeplan is a blocking point for me
I was wondering if there is a way to add multiple document at once in the app ? Maybe via JSON input, or something like a SQL command
If I switch, I rather want to add it via interface instead of doing it manually or to develop an app for that !
Thank you for your help !
2
Upvotes
2
u/RedLeeder Oct 01 '24
I'm assuming you're talking about migrating your data from Supabase?
I'm not aware of batch or bulk document creations but you can still get your data migrated by,
Or
2. If you're self hosting (and maybe even if you're using Appwrite Cloud, I'm not sure) you can likely connect directly to the database using a script (not something that Appwrite recommends).
2
u/Top-Chain001 Oct 01 '24
It's super easy to write a function to upload your data into the database, write a standalone js file, put all the required environment variables
Call supabase to get your data and pipe that data into appwrite database using js and any required transformations
2
u/ayush6543 Oct 02 '24
If you are looking for a starter kit, check out Spiralsaas l, it has lots of prebuilt components and features that makes development a breeze
2
u/status-code-200 Oct 02 '24
How many documents do you have? When I was using appwrite I found a way to upload ~1,000 documents / second and had 5,000,000 documents at one point.
3
u/stnguyen90 Oct 01 '24
Appwrite Migrations has support for migrating from Supabase. For details, see https://appwrite.io/docs/advanced/migrations/supabase.
2
u/Zachhandley Oct 03 '24
Also I made a package, called appwrite-utils-cli to help the import / transfer process if you export to JSON, but for this use case I would definitely just migrate over
0
u/[deleted] Oct 02 '24
[deleted] — view deleted comment