Skip to content

Generic script for data migration using promise based axios requests through dedicated API endpoints.

Notifications You must be signed in to change notification settings

omargaber/Generic-Migration-Script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Generic Promise Based Migration Script using Axios Requests

Using basic axios GET and POST requests, you can use this script to migrate data from a source server to a destination server through the dedicated API endpoints.

Instructions for Installation

In your terminal, you need to enter the following command to install all dependencies:

npm install

Instructions for Configuration and Running

  • To be able to use this script and utilize it to its full potential, you need to go through the comments and add data like:

    • Credentials for authorization token
    • API source endpoint for both authorization token and data.
    • API destination endpoint for data to be posted.
  • After going through all the comments and replacing the placeholder with the right API paths, credentials etc., you need to run the following command to be able to start running the script.

node MigrationScript.js

About

Generic script for data migration using promise based axios requests through dedicated API endpoints.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published