Skip to content

A fun SQL Workspace to run SQL Queries built on the Next.js framework.

License

Notifications You must be signed in to change notification settings

sandeepgangaram/next-sql

Repository files navigation

A SQL Playground for Data Professionals

Deployed at:

NOTE: This application is Frontend only App as of now and doesn't talk to any database/server yet. It generates Dummy data for now.

Features

Current

  • Run SQL Queries
  • Save Your Queries with a Name
  • Ability to Search for executed queries
  • Download Query Data as CSV or Excel Worksheet file.
  • View Data Table in Fullscreen mode.
  • Handle large datasets
  • Dashboard to see overall activity (dummy)
  • Send data as CSV or Excel file via e-mail (dummy)

To Be Added

  • Query Validation
  • Query Autocomomplete
  • Code Editor instead of TextArea
  • Share Data over email/chat
  • Auth
  • Collaborate with others
  • Clean/Modify on Data on UI before Download/Share
  • ...

Page Load Times

FramRate Time to load Setup (Desktop)
58.8fps 915ms - 1.35s No Throttle, Cache Disabled
630ms - 1.09s No Throttle, Cache Enabled

Measured using Chrome Dev Tools - Network, Performance

Lighthuse Perfomance Test

Metric Value
FCP 0.6s
Time to Interactive 1.1s
LCP 1.2s
Performance 97

WebPageTest Report

To view the report : Click Here

Performace Improvement (ongoing...)

  • Avoid Unnecessary Paint : Chrome Dev Tools - Performance, Layers
    • Removed layer collision
    • Traded transition for reducing re-paint
    • will-change property on certian elements
  • Reduce Critical Resources (Critical Bytes) : Chrome Dev Tools used - Coverage
    • Removed some of the unused CSS

Getting Started

First, run the development server:

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

Libraries Used

  • Next.js
  • React.js
  • PrimeReact UI Library

This project has been built on top of sakai-react template developed using PrimeReact UI Library. Check out therepo here.

Happy Coding!

About

A fun SQL Workspace to run SQL Queries built on the Next.js framework.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published