AzaSQL is a web-based SQL terminal and simulator designed to provide an interactive environment for executing SQL commands directly in the browser. It features a terminal-like interface, syntax highlighting, and integrates with AI for an enhanced user experience.
- SQL in the Browser: Execute SQL queries and commands directly in your web browser using
sql.js
. - Terminal Interface: The application provides a full-featured terminal powered by
xterm.js
for a familiar command-line experience. - Syntax Highlighting: Code syntax is highlighted using
prismjs
to improve readability. - Interactive Code Editor: An easy-to-use code editor is provided by
react-simple-code-editor
. - Dependencies: The project also includes
firebase
for backend services andaxios
for API calls.
- Frontend: React, TypeScript, and Vite
- Styling: TailwindCSS
- SQL Engine:
sql.js
- Terminal:
xterm
andxterm-addon-fit
- API Calls:
axios
- Backend Services: Firebase
To set up the project locally, follow these steps.
Make sure you have Node.js installed on your machine.
- Clone the repository:
git clone [https://github.com/azaken1248/azasql.git](https://github.com/azaken1248/azasql.git) cd azaken1248/azasql/AzaSQL-c63a54636169905580ba7edeaa3a5bbacff81af0/
- Install the dependencies using npm or pnpm:
npm install # or pnpm install
To start the development server:
npm run dev
This will run the app in development mode. Open http://localhost:5173 to view it in your browser.
npm run build
This command builds the app for production to the dist
folder.
Contributions are what make the open-source community an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".
- Fork the Project.
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
). - Commit your Changes (
git commit -m 'Add some AmazingFeature'
). - Push to the Branch (
git push origin feature/AmazingFeature
). - Open a Pull Request.
This project is licensed under the MIT License.