GoogleShoppingApp is an ambitious project that leverages the power of Next.js 13, a robust React framework, to create a dynamic Google Shopping App. The application is designed to efficiently gather external data through the integration of Oxylabs, potentially for web scraping, ensuring up-to-date and comprehensive product information. For an appealing and user-friendly front-end interface, TailwindCSS takes charge of styling and design, while TypeScript provides a strong foundation for codebase reliability, reducing errors and enhancing maintainability. To elevate the user experience during data retrieval, the project also seamlessly incorporates the Skeleton library, creating smooth skeleton loading screens. On the backend, a Next.js-based API has been meticulously crafted to oversee various server-side tasks, such as data management and routing.
The user-friendly interface offers a search bar and a set of four filters (pages, sorting, minimum price, and maximum price) to allow users to precisely tailor their search results. Users can easily initiate product searches, and the results gracefully showcase vital product details. The left sidebar further enhances customization by offering filter options, ensuring a seamless shopping experience. Clicking on a product opens up a world of comprehensive information, including multiple images, pricing, detailed descriptions, specifications, user reviews, and product highlights, empowering users to make informed purchasing decisions.
This is a Next.js project bootstrapped with create-next-app
.
npx create-next-app@latest
git clone https://github.com/nikul6/google-shopping.git
and then install node-modules
npm install
Create an account on Oxylabs, and then select the E-Commerce Scraper API. Choose the free trial option and create a username and password. Afterward, create an .env file for your project.
OXYLABS_USERNAME=username
OXYLABS_PASSWORD=password
You can fill in the actual username and password you obtained during the registration process on Oxylabs' platform.
Run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
Open http://localhost:3000 with your browser to see the result.
You can watch the video here
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
- Learn TailwindCSS: Docs
- Oxylabs API: Docs
- Tremor: Docs
- React Avatar: npm
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
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.