This Django app allows you to clone a GitHub repository and save its JSON data to an SQL database Asynchronously using celery.
ScreenShots:
To use this app, you will need:
- Python 3.x
- Django 3.x
- Git
- An SQL database (e.g. PostgreSQL)
- Clone the repository:
git clone https://github.com/your_username/gitsynchub.git
- Install the required packages:
pip install -r requirements.txt
- Run the migrations:
python manage.py migrate
- Start the development server:
python manage.py runserver
- Access the app in your web browser at
http://localhost:8000/.
- Enter the GitHub repository URL in the input field.
- Click the "Clone and Save" button.
- Wait for the app to clone the repository and save its JSON data to the SQL database.
- Check the SQL database to ensure that the JSON data was saved correctly.
To clone the repository at https://github.com/octocat/hello-world and save its JSON data to an SQL database, enter the following URL in the input field:
https://github.com/octocat/hello-world.git
Contributions are welcome! Please feel free to submit a pull request.
This app is licensed under the MIT License.