A sleek and responsive Google Search Clone built with ReactJS, leveraging the Context API for state management and the Google Custom Search API for fetching real-time search results.
This project mimics the core functionalities of Google's search engine, delivering fast and accurate search results with a clean, user-friendly UI.
- ✅ Real-time Search – Fetch results dynamically using the Google Custom Search API.
- ✅ React Context API – Efficient global state management without prop drilling.
- ✅ REST API Integration – Retrieve search results via Google's Custom Search JSON API.
- ✅ Responsive Design – Fully optimized for desktop and mobile devices.
![]() |
![]() |
![]() |
---|---|---|
Mobile view | Tablet view | Laptop view |
- ReactJS – Frontend framework for building UI components.
- Context API – State management for handling search queries.
- Google Custom Search API – Fetching search results dynamically.
- React Router – Navigation between pages.
- Material UI – Styled components
To get a local copy up and running follow these simple example steps.
- Gitbash installed to navigate between the branches.
- A preferred text editor for example VS Code.
- A browser such as Google Chrome
- Clone this GitHub Repo to your computer on yourFolder by typing these commands in the terminal or download as a Zip file and extract.
git clone https://github.com/KabohaJeanMark/google-clone/
cd google-clone
- Install dependencies
npm install
3️. Set up your Google API Key
- Go to Google Custom Search.
- Generate an API Key and Search Engine ID.
- Create a .env file and add:
REACT_APP_GOOGLE_API_KEY=your_google_api_key
REACT_APP_SEARCH_ENGINE_ID=your_search_engine_id
- Run the application
npm start
- 📌 Voice search integration.
- 📌 Trending searches display.
- 📌 Improved search filtering options.
Contributions are welcome! Feel free to fork the repo, make improvements, and submit a pull request.
Give a ⭐️ if you like this project!