A web application for running SQL-like queries on mock datasets, designed for Atlan's interview assignment.
The SQL Query Runner App allows users to execute predefined SQL-like queries on mock datasets and visualize the results in tables and charts. It provides an intuitive interface to understand query results with clear data visualization.
- Framework: React 19
- Styling: Tailwind CSS
- Charts: Chart.js & react-chartjs-2
- Date Utilities: date-fns
- Icons: react-icons
- Build Tool: Webpack 5
- @monaco-editor/react: Code editor for SQL-like query input.
- Chart.js & react-chartjs-2: For visualizing query results.
- Tailwind CSS: Modern utility-first styling framework.
- date-fns: Date manipulation for query-based filtering.
- react-icons: Lightweight icons for UI components.
The application is deployed at https://query-viewer.netlify.app/.
- First Contentful Paint (FCP): ~1.2s
- Largest Contentful Paint (LCP): ~1.5s
- Total Load Time: ~1.8s
These metrics were measured using Chrome DevTools and Lighthouse.
To ensure fast load times and smooth performance:
- Minification: JavaScript and CSS are minified using Webpack's production mode.
- Pagination: Used pagination for large datasets instead of React Window.
- Efficient Rendering: Memoized components and hooks to avoid unnecessary re-renders.