An automation script to create appwrite collections and attributes using node js.
npm install
create .env file in the root directory with the following variables:
APPWRITE_API_KEY
APPWRITE_PROJECT_ID
APPWRITE_API_ENDPOINT
npm run migrate
See Appwrite Docs.