Skip to content

A google search engine clone created using react-js, next-js(server side rendering) & tailwind css

Notifications You must be signed in to change notification settings

taurusilver7/google-clone

Repository files navigation

Google Clone

A google search engine using react-js & next-js & tailwind css The next js is a react framework for server-side rendering.

  • To set up the tailwind css onthe next-js project npm install -D tailwindcss@latest postcss@latest autoprefixer@latest

  • To create the configure files fo tailwind (generate your tailwind.config.js and postcss.config.js files) npx tailwindcss init -p

  • Enable the 'jit' mode in the config file for a more powerful engine for tailwind. mode: 'jit',

  • Inclue the base, component, utilities directives in /styles/globals.css

  • When an image using Image component isused, next-js has to be informed about it to configure the image for the project. It is configured in the next.configure.js file to add the domains of the resources used in next-js. module.exports = { images: { domain: ["domain names..."] } }

  • Use a rest_api to invoke an api key for developer here

  • The google content search authorization here

  • A plugin for the tailwind to use a dependency plugins: [require("@tailwindcss/line-clamp")],

  • Deployed on vercel integrated to github with cli-pipeline integrated.

Stock

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

Getting Started

First, run the development server:

npm run dev
# or
yarn dev

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.js.

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

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

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 Next.js deployment documentation for more details.

About

A google search engine clone created using react-js, next-js(server side rendering) & tailwind css

Topics

Resources

Stars

Watchers

Forks