Create, design and implement a web-based application capable of running SQL queries and displaying the results of said query. The application must include a space which accepts SQL queries in the form of user inputs, then runs the given query, and displays the result within the application..
This is a Atlan Frontend Task(a SQL query editor project) built using ReactJs and TailwindCSS.
Working Demo : Atlan Frontend Task
- react-ace
- react-csv
- react-hot-toast
- tailwind-scrollbar-hide
โ
Users can get data of any of the Available SQL queries on the left Sidebar menu.
โ
Users can view all the table column on Right Sidebar menu.
โ
Users can check all the table value on clicking Table name of Right Sidebar menu.
โ
Users can download the data in CSV Format in just one click.
โ
Users can see query's output in milliseconds(ms).
select * from customers;
select * from employees;
select * from orders;
select contact_name, address,city,postal_code, country from customers limit 18;
Page Load time of this website in desktop is in the range of 0.4 s to 0.6s. we can check code spnappyness using GTmetrix Grade.
Laptop performance view
- Used Lighthouse DevTools Extension to find the performance issues and fix them using their actionable suggestion.
In the project directory, you can run:
To install all the packages in package.json. This will install all the dependencies and devDependencies.
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
Deployment is done using Github Pages
More info deployment