{"id":36631688,"url":"https://github.com/contentstack/migration-v2","last_synced_at":"2026-01-28T15:12:44.011Z","repository":{"id":298339340,"uuid":"730069363","full_name":"contentstack/migration-v2","owner":"contentstack","description":"Build Migration UI tool to seamlessly migrate content from legacy CMSs to Contentstack.","archived":false,"fork":false,"pushed_at":"2026-01-10T03:12:01.000Z","size":26909,"stargazers_count":5,"open_issues_count":13,"forks_count":8,"subscribers_count":10,"default_branch":"main","last_synced_at":"2026-01-11T00:52:52.335Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/contentstack.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":"CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-12-11T06:16:58.000Z","updated_at":"2026-01-09T10:34:01.000Z","dependencies_parsed_at":"2025-07-19T00:26:48.173Z","dependency_job_id":"ebce5022-3385-45c0-84cb-4e05ec6de266","html_url":"https://github.com/contentstack/migration-v2","commit_stats":null,"previous_names":["contentstack/migration-v2"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/contentstack/migration-v2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/contentstack%2Fmigration-v2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/contentstack%2Fmigration-v2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/contentstack%2Fmigration-v2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/contentstack%2Fmigration-v2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/contentstack","download_url":"https://codeload.github.com/contentstack/migration-v2/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/contentstack%2Fmigration-v2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28337737,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T06:09:07.588Z","status":"ssl_error","status_checked_at":"2026-01-12T06:05:18.301Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2026-01-12T09:38:08.895Z","updated_at":"2026-01-12T09:38:09.443Z","avatar_url":"https://github.com/contentstack.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Migration v2\n\n## Overview\n\nThe migration-v2 project is designed to facilitate the migration of assets and related functionalities. This project includes multiple components such as API, UI, and upload API.\n\n## Installation\n\nClone the repository:\n\n```\ngit clone https://github.com/contentstack/migration-v2.git\ncd migration-v2\n```\n\nCheck for readme.md files and install dependencies for folders\n\n## Migration-v2 API\n\nThis is the migration V2's node server.\n\n### Environment Variables\n\nThe following environment variables are used in this project:\n\n- `APP_TOKEN_KEY`: The token key for the application. Default is `MIGRATION_V2`.\n- `PORT`: The port number on which the application runs. Default is `5001`.\n\nMake sure to set these variables in a `.env` file at the root of your project.\n\n1. To run the development server, create a `./development.env` file and add environment variables as per `./example.env`\n2. To run the production server, create a `./production.env` file and add environment variables as per `./example.env`\n\n### To start the server\n\nRun `npm run dev`\n\n## Migration UI\n\nMigration UI is a web application designed to facilitate the migration of content. It provides a user-friendly interface for managing and migrating content efficiently.\n\n### Features\n\n- User-friendly interface for content migration\n- Integration with Contentstack\n- State management with Redux Toolkit\n- Comprehensive testing with Testing Library\n\n### Installation\n\n1. Navigate to the project directory:\n\n   ```sh\n   cd ui\n   ```\n\n2. Install the dependencies:\n   ```sh\n   npm install\n   ```\n\n### Environment Variables\n\nThe following environment variables are used in this project:\n\n- `REACT_APP_WEBSITE_BASE_URL`: The base URL for the website. Default is `http://localhost:3000/`.\n- `REACT_APP_BASE_API_URL`: The base URL for the API. Default is `http://localhost:5001/`.\n- `REACT_APP_API_VERSION`: The version of the API. Default is `v2`.\n- `REACT_APP_HOST`: The host URL for the application. Default is `http://localhost:3000`.\n- `REACT_APP_UPLOAD_SERVER`: The URL for the upload server. Default is `http://localhost:4002/`.\n- `REACT_APP_OFFLINE_CMS`: A flag to indicate if the CMS is offline. Default is `true`.\n\nMake sure to set these variables in a `.env` file at the root of your ui project.\n\n### Usage\n\nStart the development server:\n\n```sh\nnpm start\n```\n\nOpen your browser and navigate to http://localhost:3000.\n\n### Dependencies\n\n- @contentstack/json-rte-serializer: ^2.0.5\n- @contentstack/venus-components: ^2.2.4\n- @reduxjs/toolkit: ^2.2.5\n- @testing-library/jest-dom: ^5.17.0\n- @testing-library/react: ^13.4.0\n- @testing-library/user-event: ^13.5.0\n- @types/react: ^18.2.28\n- @types/react-dom: ^18.2.13\n- @types/react-redux: ^7.1.33\n\n## Migration v2 upload-api\n\n### Overview\n\nThe migration-v2 upload-api project is designed to facilitate the migration of different CMS to Contentstack functionalities.\n\n### Installation\n\nNavigate to the project directory:\n\n```\ncd migration-v2/upload-api\n```\n\nInstall dependencies:\n\n```\nnpm install\n```\n\n### Environment Variables\n\nThe following environment variables are used in this project:\n\n- `PORT`: The port number on which the application runs. Default is `4002`.\n- `NODE_BACKEND_API`: The backend API endpoint. Default is `http://localhost:5001`.\n\nMake sure to set these variables in a `.env` file at the root of your project.\n\n### Configuration\n\nPlease refer sample.config.json and provide this config in index.ts of config folder of upload-api/src\nThe following configuration is used in this project:\n\n- `plan.dropdown.optionLimit`: The limit for dropdown options. Default is `100`.\n- `cmsType`: The type of CMS used. Default is `sitecore`.\n- `isLocalPath`: A flag to indicate if the path is local. Default is `true`.\n\n#### AWS Data\n\n- `awsRegion`: The AWS region. Default is `us-east-2`.\n- `awsAccessKeyId`: The AWS access key ID.\n- `awsSecretAccessKey`: The AWS secret access key.\n- `awsSessionToken`: The AWS session token.\n- `bucketName`: The name of the AWS S3 bucket. Default is `migartion-test`.\n- `buketKey`: The key for the AWS S3 bucket. Default is `project/package 45.zip`.\n\n#### Local Path\n\n- `localPath`: The local path to the extracted files. for example `/upload-api/extracted_files/package 45.zip`.\n\n## Scripts\n\n- `npm start`: Starts the main server by running index.js.\n- `npm run api`: Navigates to the api directory and runs the development server.\n- `npm run upload`: Navigates to the upload-api directory and starts the upload API server.\n- `npm run ui`: Navigates to the ui directory and starts the UI server.\n- `npm run env`: Starts the main server by running npm start.\n- `npm run postinstall`: Installs dependencies for the api, ui, and upload-api directories.\n- `npm test`: Displays an error message indicating that no tests are specified.\n\n## Repository\n\n- Type: git\n- URL: https://github.com/contentstack/migration-v2.git\n\n## Bugs and Issues\n\n- URL: https://github.com/contentstack/migration-v2/issues\n\n## Homepage\n\n- URL: https://github.com/contentstack/migration-v2#readme\n\n## DevDependencies\n\n- husky: ^4.3.8\n- prettier: ^2.4.1\n- rimraf: ^3.0.2\n- validate-branch-name: ^1.3.0\n\n## Husky Configuration\n\n```\n\"husky\": {\n  \"hooks\": {}\n}\n```\n\n- Branch Name Validation\n\n```\n\"validate-branch-name\": {\n  \"pattern\": \"^(feature|bugfix|hotfix)/[a-z0-9-]{5,30}$\",\n  \"errorMsg\": \"Please add valid branch name!\"\n}\n```\n\n## License\n\nThis project is licensed under the MIT License.\n\n## Author\n\nThe author information is not specified.\n\n## Contact\n\nFor further assistance, please contact the project maintainer through the issues page on GitHub.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcontentstack%2Fmigration-v2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcontentstack%2Fmigration-v2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcontentstack%2Fmigration-v2/lists"}