{"id":19093669,"url":"https://github.com/upperdo/appwrite-migration-tool","last_synced_at":"2026-05-25T19:30:20.304Z","repository":{"id":193906588,"uuid":"689711900","full_name":"upperdo/appwrite-migration-tool","owner":"upperdo","description":"Appwrite-Migration-Tool is a versatile utility package designed to simplify database migrations and data seeding for the [Appwrite](https://appwrite.io/) platform. It offers an easy-to-use interface for managing migrations and seeding data in your Appwrite project, all while ensuring performance, maintainability, and scalability.","archived":false,"fork":false,"pushed_at":"2023-09-10T21:27:01.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-02T23:30:08.904Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/upperdo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-10T17:09:28.000Z","updated_at":"2023-09-10T17:11:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"252629a3-d0fa-481a-8078-e0990107081a","html_url":"https://github.com/upperdo/appwrite-migration-tool","commit_stats":null,"previous_names":["upperdo/appwrite-migration-tool"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/upperdo%2Fappwrite-migration-tool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/upperdo%2Fappwrite-migration-tool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/upperdo%2Fappwrite-migration-tool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/upperdo%2Fappwrite-migration-tool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/upperdo","download_url":"https://codeload.github.com/upperdo/appwrite-migration-tool/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240142861,"owners_count":19754639,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T03:25:37.933Z","updated_at":"2026-05-25T19:30:20.233Z","avatar_url":"https://github.com/upperdo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Appwrite-Migration-Tool\n\nAppwrite-Migration-Tool is a versatile utility package designed to simplify database migrations and data seeding for the [Appwrite](https://appwrite.io/) platform. It offers an easy-to-use interface for managing migrations and seeding data in your Appwrite project, all while ensuring performance, maintainability, and scalability.\n\n## Features\n\n- **Database Migrations:** Seamlessly create and manage database migrations for your Appwrite project. Keep your database schema up-to-date with ease.\n\n- **Data Seeding:** Populate your Appwrite database with sample data using configurable seeders. Perfect for development, testing, and staging environments.\n\n- **Customizable Configuration:** Configure your Appwrite-Migrate package to fit your project's specific needs, including Appwrite API endpoint, project ID, API key, migration paths, seed paths, and more.\n\n- **TypeScript Support:** Appwrite-Migrate is built with TypeScript, providing type definitions for a better development experience.\n\n- **Easy Setup:** The package includes an initialization script that guides you through the configuration process, making it simple to get started.\n\n## Installation\n\nTo get started, install the package using your package manager of choice (npm, pnpm, or yarn):\n\n```bash\nnpm install appwrite-migration-tool\n\n# or\n\npnpm install appwrite-migration-tool\n\n# or\n\nyarn add appwrite-migration-tool\n\n```\n## Usage\n-----\n\n### Configuration\n\nBefore using the package, you need to configure it with your Appwrite settings. Run the following command to set up the configuration:\n\n`npx appwrite-migration-tool init`\n\nThis command will prompt you to provide the following information:\n\n-   Appwrite endpoint\n-   Project ID\n-   API key\n-   Paths for migrations and seeds\n\n### Database Migrations\n\nTo create a new migration, use the following command:\n\n`npx migrate:make migration_name`\n\nReplace `migration_name` with a descriptive name for your migration.\n\nTo run pending migrations, execute:\n\n`npx migrate`\n\n### Seeding Data\n\nTo create a seed file, use the following command:\n\n`npx seed:make SeedFileName`\n\nReplace `SeedFileName` with the name of your seed file.\n\nTo seed data into your Appwrite database, run:\n\n`npx seed SeedFileName`\n\n### User Factory\n\nTo generate fake user data, you can use the provided user factory utility. Here's an example:\n\njavascriptCopy code\n\n```\nconst { createMultipleFakeUsers } = require('appwrite-migration-tool/lib/utils/userFactory');\n\ncreateMultipleFakeUsers(10); // Creates 10 fake user profiles\n```\n\nContributing\n------------\n\nContributions are welcome! Feel free to open issues, suggest improvements, or submit pull requests on our [Appwrite Migration Tool](https://github.com/upperdo/appwrite-migration-tool).\n\nLicense\n-------\n\nThis project is licensed under the MIT License. See the [LICENSE](https://github.com/upperdo/appwrite-migration-tool/blob/main/LICENSE) file for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fupperdo%2Fappwrite-migration-tool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fupperdo%2Fappwrite-migration-tool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fupperdo%2Fappwrite-migration-tool/lists"}