Skip to content

ebubekir/sql-generate-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sql-generate-app

The primary objective of this project is to empower individuals with little to no knowledge of SQL queries to easily and swiftly extract necessary information from databases. Our user-friendly interface allows the creation of complex SQL queries through simple selections, aiming to democratize access to data analysis. This approach effectively removes the barrier of technical knowledge in extracting valuable insights from databases.

Tech Stack

  • Python 3.11
  • Typescript
  • FastAPI
  • Poetry
  • Alembic
  • Apache ECharts
  • Next Auth
  • Redux

Installation

1. Clone the project

git clone https://github.com/ebubekir/sql-generate-app

2. Go to path

cd sql-generate-app/

3. Backend Installation

3.1 Go to backend directory.

cd backend/

3.2 Create Poetry Environment and Install Dependencies

poetry shell && poetry install

3.3 Up Database

sudo docker compose up db

3.4 Run api project

python main.py

4. Frontend Installation

4.1 Run dependencies

yarn install

4.2 Run project

yarn dev

Usage

Register a User

Firstly, you need to register to log into the application.

img.png

Add your data source

Add your data source in data sources page.

img.png

Add your connection details

img.png

When it's ok. Give it a name and save.

Create a Query

Select your table.

img.png

Also if you want, you can join your tables with ADD JOIN button.

img.png

Select columns.

img.png

You can add conditions with conditions panel.

img.png

Then go create a Query!

img.png

Features

Pie, Bar, Line Responses.

You can choose a different char types like pie, bar, line.

img_2.png

You can save your reports for viewing later.

img.png