Skip to content

yuenfu001/SQL_integration

Repository files navigation

SQL_integration - Django SQL Query App

Welcome to SQL-Integration, a Django application that connects to a PostgreSQL server, accepts SQL statements as input, and displays query results as Pandas DataFrames in HTML.

Features

  • Input SQL queries and see the results as interactive Pandas DataFrames on the webpage.
  • Securely connects to a PostgreSQL database using Django's integrated ORM and the psycopg2 library.
  • Enhances your understanding of Django, PostgreSQL, and Pandas while building a practical web application.

Getting Started

  1. Clone this repository: git clone https://github.com/yuenfu001/SQL_integration.git
  2. Navigate to the project directory: cd SQL_integration
  3. Install dependencies: pip install -r requirements.txt
  4. Run the development server: python manage.py runserver

Usage

  1. Visit http://127.0.0.1:8000/ in your web browser.
  2. Input your SQL query into the form and click "Execute."
  3. The query results will be displayed as an interactive Pandas DataFrame on the webpage.

Screenshots

App Screenshot

Contributing

Contributions are welcome! If you find any issues or want to enhance the app, feel free to open a pull request or submit an issue.

Acknowledgements

  • This project was inspired by my desire to learn more about Django, PostgreSQL, and Pandas.
  • Thanks to the coding community, online resources, and fellow developers for their valuable insights.

License


Note: This README is a template. Modify it to suit your project's needs. Include details like installation instructions, prerequisites, troubleshooting, and any other relevant information.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published