Skip to content
This repository was archived by the owner on Oct 15, 2025. It is now read-only.
alpha-phi-omega-ezPublic archive

About

Transferring data from the old mysql php website to the new fastAPI MongoDB backend

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

Repository files navigation

Transfer

Transffering data from the old MySQL and PHP website to the new MongoDB and FastAPI

Installation

Instructions on how to install and set up the project.

# Clone the repository
git clone https://github.com/alpha-phi-omega-ez/transfer.git

# Navigate to the project directory
cd transfer

# Install dependencies
pip3 install -r requirements.txt

Usage

To download data first created the json config file dbs.json in this format:

[
  {
    "user": "user",
    "password": "password",
    "host": "host",
    "database": "database"
  },
  {
    "user": "user",
    "password": "password",
    "host": "host",
    "database": "database"
  }
]

Then run pull.py to download the data

python3 pull.py

To push the data to MongoDB run

python3 push.py true

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Transferring data from the old mysql php website to the new fastAPI MongoDB backend

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages