Skip to content

It is not the Google πŸ˜… but just like the google UI and search functionality through API. The website is fully responsive, suitable for mobile phones too as it has been made using Tailwind CSS and heroicons are used for the icons. The pagination functionality is implemented for every search result. It has NextJS on top of ReactJS and SSR pages.

License

Notifications You must be signed in to change notification settings

Priyanshu88/Google-Web

Repository files navigation

logo

Google with TailwindCSS and NEXT.JS!

This project is like the Google UI and created using NextJS. Tailwind CSS with(2.1 JIT) is being used and it's mobile responsive as well. It has the pagination funcionality for showing the search results. The NextJS features such as Server Side Rendering (SSR) has been implemented.


πŸ“” Table of Contents

🌟 About the Project

πŸ“· Screenshots

  • Application Home page & Demo
image
Google.Clone.Demo.-.Made.with.Clipchamp.mp4

  • Home Page
image

  • Search Page
image

forthebadge forthebadge forthebadge

πŸ‘Ύ Tech Stack

Client
Search APIs

Google

🧰 Getting Started

‼️ Prerequisites

  • Sign up for Google developers account HERE
  • Install Node JS in your computer HERE

πŸ”‘ Environment Variables

To run this project, you will need to add the following environment variables to your keys file

  • Frontend

API_KEY

CONTEXT_KEY

βš™οΈ Installation

Install my-project with npm

npx create-next-app my-project
cd my-project

Install dependencies

πŸ§ͺ Install Tailwind CSS and Next.js

Install Tailwind CSS

Install tailwindcss and its peer dependencies via npm, and then run the init command to generate both tailwind.config.js and postcss.config.js.

npm install -D tailwindcss@latest postcss@latest autoprefixer@latest
npx tailwindcss init -p

Configure your template paths

Add the paths to all of your template files in your tailwind.config.js file.

/** @type {import('tailwindcss').Config} */
module.exports = {
  mode: 'jit',
  content: ["./app/**/*.{js,ts,jsx,tsx}", "./components/**/*.{js,ts,jsx,tsx}"],
  theme: {
    extend: {},
  },
  plugins: [],
};

Add the Tailwind directives to your CSS

Add the @tailwind directives for each of Tailwind’s layers to your ./styles/globals.css file.

@tailwind base;
@tailwind components;
@tailwind utilities;

πŸ§ͺ Install Line Clamp

Install TailwindCSS Line Clamp

npm i @tailwindcss/line-clamp

Install dependencies

πŸ”Ά Other Dependency Info

πŸƒ Run Locally

Clone the project

git clone https://github.com/Priyanshu88/Google-Web.git
cd Google-Web

Install dependencies This is a Next.js project bootstrapped with create-next-app.

npm install

Start the server First, run the development server:

npm run dev

This is a Next.js project bootstrapped with create-next-app.

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying pages/index.js. The page auto-updates as you edit the file.

API routes can be accessed on http://localhost:3000/api/hello. This endpoint can be edited in pages/api/hello.ts.

The pages/api directory is mapped to /api/*. Files in this directory are treated as API routes instead of React pages.

Learn More

This project uses heroicons for icons.

🚩 Deployment

To deploy this project

Frontend
Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Vercel deployment documentation for more details.

🀝 Contact

Your Name - @twitter_handle - 2040020@sliet.ac.in

Project Link: https://github.com/Priyanshu88/Google-Web.git



Don't forget to leave a star ⭐️

About

It is not the Google πŸ˜… but just like the google UI and search functionality through API. The website is fully responsive, suitable for mobile phones too as it has been made using Tailwind CSS and heroicons are used for the icons. The pagination functionality is implemented for every search result. It has NextJS on top of ReactJS and SSR pages.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published