Giter Club home page Giter Club logo

google-clone's Introduction

About The Project

enter image description here A functional replica of Google's search page, you can use it for searches. Styled with Tailwind CSS to Rapidly build and look as close as possible to current google search page, the search results are pulled using Googles Programmable Search Engine and it was build using Next.js the react framework.

Project is live here https://google-clone-p8mn37r8a-cosmicwanderer7.vercel.app/

Please do not spam searches.

Built With

(back to top)

Getting Started

Prerequisites

This are things you need to use the web app and how to install them.

  • yarn
    npm install --global yarn 
    yarn dev   // to run local server

Installation

  1. Get a free API_KEY at https://developers.google.com/custom-search/v1/introduction#identify_your_application_to_google_with_api_key Get ( Search engine ID ) CONTEXT_KEY at https://cse.google.com/cse/create/new

  2. Clone the repo

    git clone https://github.com/cosmicwanderer7/google-clone.git
  3. Add Next

    yarn add next react react-dom
  4. Install all dependencies

    yarn 
  5. Create a .env.local file to store your api keys

    API_KEY = ' ' //API Key  https://developers.google.com/custom-search/v1/introduction#identify_your_application_to_google_with_api_key
    CONTEXT_KEY = ' ' // Context Key  https://cse.google.com/cse/create/new ( Search engine ID )
  6. Use dummy data for testing const useDummyData = false; //true for development testing (mock results) change it in search.js (Free version of google search api has a quota of 100 search results per day use dummy data so that you don't exhaust the quota)

  7. To run on local host use

    yarn dev //starts a local server
    

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request.

Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch
  3. Commit your Changes
  4. Push to the Branch
  5. Open a Pull Request

(back to top)

Contact

[email protected] Gmail
@PrithviYewale Twitter
@cosmic.wanderer._ Instagram

Project Link: https://github.com/cosmicwanderer7/google-clone

(back to top)

google-clone's People

Contributors

cosmicwanderer7 avatar

Stargazers

Debashish D. Dev avatar Abhishek Jain avatar Rizone avatar Hahnbee Lee avatar  avatar Shreeyash Balkrishna Bankar avatar Daniel Hunt avatar Doug avatar Ivan-Z avatar Roman avatar Johnson Kuan avatar  avatar Kaushik Bhowmick avatar Ingo Hans avatar Keenan Lee-Peters avatar Fajar A avatar Linda MacDonald avatar  avatar Lee Peterson avatar JW avatar Tuan Duc Tran avatar Samir Malek avatar Github Jobs avatar

Watchers

 avatar

google-clone's Issues

.env.local file

You should add the '.env.local' file to your '.gitignore' file to prevent your API key from being exposed to the public.

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.