{"id":30763659,"url":"https://github.com/rishipurwar1/react-sql-editor-view","last_synced_at":"2025-09-04T16:15:26.583Z","repository":{"id":37553470,"uuid":"427891968","full_name":"rishipurwar1/react-sql-editor-view","owner":"rishipurwar1","description":"React SQL Editor is the easiest way to query data using SQL Query Language. Users can get data of any of the predefined SQL queries either by using SQL Editor or Sidebar Menu.","archived":false,"fork":false,"pushed_at":"2022-01-16T08:16:02.000Z","size":2826,"stargazers_count":23,"open_issues_count":1,"forks_count":9,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-05-02T03:39:30.102Z","etag":null,"topics":["javascript","react","reactjs","tailwindcss"],"latest_commit_sha":null,"homepage":"https://react-sql-editor-view.vercel.app/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rishipurwar1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-11-14T09:58:31.000Z","updated_at":"2024-04-21T20:52:47.000Z","dependencies_parsed_at":"2022-09-11T10:40:52.057Z","dependency_job_id":null,"html_url":"https://github.com/rishipurwar1/react-sql-editor-view","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rishipurwar1/react-sql-editor-view","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishipurwar1%2Freact-sql-editor-view","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishipurwar1%2Freact-sql-editor-view/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishipurwar1%2Freact-sql-editor-view/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishipurwar1%2Freact-sql-editor-view/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rishipurwar1","download_url":"https://codeload.github.com/rishipurwar1/react-sql-editor-view/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishipurwar1%2Freact-sql-editor-view/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273635195,"owners_count":25141129,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-04T02:00:08.968Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["javascript","react","reactjs","tailwindcss"],"created_at":"2025-09-04T16:15:18.203Z","updated_at":"2025-09-04T16:15:26.561Z","avatar_url":"https://github.com/rishipurwar1.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🚀 REACT SQL Editor\n\nThis is a REACT SQL Editor built using ReactJs and TailwindCSS.\n\n![Homepage](src/assets/screenshots/screenshot-readme.png)\n\n## 👨‍💻 Demo\n\n\u003ca href=\"https://github.com/rishipurwar1/coding-space\" target=\"blank\"\u003e\n\u003cimg src=\"https://img.shields.io/website?url=https://www.codingspace.codes\u0026logo=github\u0026style=flat-square\" /\u003e\n\u003c/a\u003e\n\nTry out the website : [REACT SQL Editor](https://react-sql-editor-view.vercel.app/)\n\n## 👨‍🔧 Tech Stack\n\n![React](https://img.shields.io/badge/react-%2320232a.svg?style=for-the-badge\u0026logo=react\u0026logoColor=%2361DAFB)\n![TailwindCSS](https://img.shields.io/badge/tailwindcss-%2338B2AC.svg?style=for-the-badge\u0026logo=tailwind-css\u0026logoColor=white)\n\n## 👨‍💻 Features\n\n:white_check_mark: Users can get data of any of the predefined SQL queries either by using SQL Editor or Sidebar Menu.\\\n:white_check_mark: Users can sort data directly by clicking the Table Headers title.\\\n:white_check_mark: Users can search for a particular data among many records using the search bar.\\\n:white_check_mark: Users can navigate to different pages using pagination.\\\n:white_check_mark: Users can download the data in CSV and JSON Format in just one click.\\\n:white_check_mark: Users can see query runtime in milliseconds(ms).\n\n## ✍️ Predefined SQL Queries\n\n- `select * from customers`\n- `select * from categories`\n- `select * from employee_territories`\n- `select * from order_details`\n- `select * from orders`\n- `select * from products`\n- `select * from regions`\n- `select * from shippers`\n- `select * from suppliers`\n- `select * from territories`\n\n## ⏱ Page Load Time\n\nPage Load time of this website in desktop is in the range of 0.4 s to 0.6s.\n\nI calculated the performance and load time of this website using these two tools Lighthouse Chrome DevTools and BrowserStack SpeedLab.\n\n### [Lighthouse Chrome DevTools Report](https://developers.google.com/web/tools/lighthouse#devtools) (got a perfect 💯)\n\n![lighthouse report](src/assets/screenshots/screenshot-lighthouse.png)\n\n- **First Contentful Paint** marks the time at which the first text or image is painted\n- **Time to interactive** is the amount of time it takes for the page to become fully interactive.\n- **Speed Index** shows how quickly the contents of a page are visibly populated.\n- **Total Blocking Time** is the sum of all time periods between FCP and Time to Interactive, when task length exceeded 50ms, expressed in milliseconds.\n- **Largest Contentful Paint** marks the time at which the largest text or image is painted.\n- **Cumulative Layout Shift** measures the movement of visible elements within the viewport.\n\n### [BrowserStack Report](https://www.browserstack.com/speedlab)\n\n![browserstack report](src/assets/screenshots/screenshot-three.png)\n\n## 🪜 Steps I took to optimize the page load time\n\n- Used code-splitting with `React.Lazy()` and `Suspense` to lazy load the components and split javaScript into multiple chunks using Dynamic runtime Imports for faster page load.\n- Used `React.Memo()` to optimize the render performance of functional components.\n- Used PurgeCSS to tree-shake unused styles and optimize my final build size.\n- Used Lighthouse DevTools Extension to find the performance issues and fix them using their actionable suggestion.\n- Used vercel to deploy this website to leverage its Vercel Edge Network compression that results in the better performance.\n\n## Available Scripts\n\nIn the project directory, you can run:\n\n### `yarn start`\n\nRuns the app in the development mode.\\\nOpen [http://localhost:3000](http://localhost:3000) to view it in the browser.\n\nThe page will reload if you make edits.\\\nYou will also see any lint errors in the console.\n\n### `yarn build`\n\nBuilds the app for production to the `build` folder.\\\nIt correctly bundles React in production mode and optimizes the build for the best performance.\n\nThe build is minified and the filenames include the hashes.\\\nYour app is ready to be deployed!\n\nSee the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frishipurwar1%2Freact-sql-editor-view","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frishipurwar1%2Freact-sql-editor-view","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frishipurwar1%2Freact-sql-editor-view/lists"}