This project is a Google Search clone built using React and Tailwind CSS. The main objective of this project is to gain a clear understanding of React hooks and Context API by implementing a simplified version of a search engine interface.
Clone the repository:
git clone https://github.com/theprince29/Search-engine.git
cd Search-engine
Install dependencies:
npm install
Start the development server:
npm run dev
Open your browser and navigate to:
http://localhost:5173/
.
├── public
├── src
│ ├── components
│ │ ├── Navbar.js
│ │ ├── Footer.js
│ │ ├── Results.js
│ │ ├── Search.js
│ ├── contexts
│ │ └── ResultContext.js
│ ├── App.js
│ ├── index.js
│ └── ...
└── README.md
useState
, useEffect
, and useContext
to manage component state and side effects.react-router-dom
to implement client-side routing for a single-page application (SPA).This project is licensed under the MIT License - see the LICENSE file for details.