Giter Club home page Giter Club logo

google2.o's Introduction

Project Title

Google 2.O Web Searching App using React Js and Tailwind CSS

Demo link:

Access my site at Google2.O

Table of Content:

About The App

  • The app is a clone of Google with some additional features.
  • It allows users to search the web with ease and convenience.
  • Upon opening or reloading the page, a new and random background image will greet the user.
  • The app offers both Light and Dark theme options for better user experience.
  • Users can also quickly re-search without having to return to the homepage to perform a new search.

Technologies

  • The app was built using HTML, Tailwind CSS, JavaScript, and ReactJS.
  • Asynchronous programming was implemented through calling a Realtime-web-search API to get limited (10) web results.
  • Tailwind CSS was used to style the layout and HTML elements.
  • The app also utilized hooks like useState(), useEffect(), useDebounce(), useContext(), and useRef() for functionalities and state management.
  • The loading component of 'react-loader' was used to create the Rings loading animation.

Approach

  • The app was divided into components such as Navbar, Search, Result, Loading, and Footer.
  • To manage dynamically changing variables, the ResultContextProvider was created using the useContext() hook of React.
  • An array of API keys was used, and Math.random function of JavaScript was utilized to pass a random key in the header of the fetch request.
  • This helped in reducing errors and getting results with less latency, as each API has a monthly limit.

Screenshots

Desktop States

Homepage(Light Theme)


Homepage(Dark Theme)


Active(Light Theme)


Active(Dark Theme)


Tablet States

Homepage(Light Theme)


Homepage(Dark Theme)


Mobile States

Homepage(Light Theme)


Active(Dark && Light Theme)



Loading Animation


Setup

  • download or clone the repository
  • run npm start

Status

[Google2.O] is still in progress. Version 2 will be out soon with more features like news/videos/images search at one place.

License

Copyright © 2023 @ Shivam Kumar

google2.o's People

Contributors

itsme-shivamkumar 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.