GithubHelp home page GithubHelp logo

atlan-assignment's Introduction

๐Ÿ’ป ATLAN ASSIGNMENT SQL Editor

Description

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.

๐Ÿ‘จโ€๐Ÿ’ป Live Demo

GitHub

Try out the website: https://atlan-assignment-tau.vercel.app

Used ReactJs and TailwindCSS to build this web page.

๐Ÿ‘จโ€๐Ÿ’ป Features

  • Users can run any query from available queries.
  • Users can view all previously executed queries.
  • Users can see the result of query in the table (pagination is also implemented)
  • Users can download the data in CSV format with just one click.

โฑ Performance Scheenshot

  • Used Lighthouse tool to check the performance which runs a series of tests against the web page, then generates a report on how well your web page performed in those tests.

Performance

๐Ÿชœ How I Optimizing the Page Load Time and other metrics

  • (for brownie points ๐Ÿ˜) I incorporated pagination into the application to efficiently display a large number of rows. This implementation ensures a smoother user experience by preventing the browser from becoming overwhelmed or crashing.
  • The website has been optimized for responsiveness to a significant degree, despite the fact that such an application is less likely to be utilized on mobile devices.
  • The website is deployed on Vercel, known as one of the swiftest free hosting platforms for JavaScript-based web apps, thanks to its CDN and caching advantages. Additionally, it offers free SSL during hosting, enhancing page security and ranking.
  • Used react.memo which is a higher-order component in React that aims to optimize the performance of functional components by memoizing the result and preventing unnecessary renders.
  • A minimal set of dependencies was employed in crafting the page.
  • Restructured code to reuse components & used minimal imports where necessary.

Available Scripts

In the project directory, you can run:

npm install

Install all the packages listed in package.json. This includes both dependencies and devDependencies.

npm start

Run the app in development mode. Open http://localhost:3000 to view it in the browser. The page will reload if you make edits, and you'll see any lint errors in the console.

npm run build

Build the app for production in the build folder. It correctly bundles React in production mode and optimizes the build for the best performance. The build is minified, and filenames include hashes. Your app is now ready for deployment!

Refer to the deployment section for more information.

๐Ÿš€ Project Functionalities

Screen Shot

Screen Shot

Screen Shot

atlan-assignment's People

Contributors

rohitsigar avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.