Coder Social home page Coder Social logo

hasanjunaid / smart-shop-query Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 12.43 MB

Explore a world of products effortlessly with my Smart Smart Query App, offering intuitive search, dynamic suggestions, and detailed information for a seamless shopping experience.

Home Page: https://smartshopquery.netlify.app/

License: MIT License

JavaScript 58.87% HTML 5.17% CSS 35.95%

smart-shop-query's Introduction

Smart Shop Query

This is a simple React application for searching and displaying product information using the FakeStoreAPI. The app allows users to search for products and view detailed information about each product.

Implementation Strategy

  • SearchBox Component: Provides a search input for users to enter product names. It fetches product data from the FakeStoreAPI and dynamically updates the displayed products as the user types.

  • ProductDetail Component: Displays detailed information about a selected product. It fetches the details from the API based on the product ID provided in the URL.

  • React Router: Used for handling navigation between the search page and individual product detail pages.

  • Error Handling: Implemented error messages for scenarios such as no matching products, API failures, and invalid product IDs.

API Choice

I chose the FakeStoreAPI for this project because it provides a simple and easy-to-use API with realistic product data. It allows for a straightforward implementation of a product search and detail display functionality.

Setup Instructions

  1. Clone the repository:

    git clone https://github.com/hasanjunaid/SmartShopQuery.git
  2. Navigate to the project directory:

    cd smartshopquery
  3. Install dependencies:

    npm install
  4. Run the application:

    npm run dev
  5. Open your browser and go to http://localhost:5713 to view the app.

Deployed Version

You can access the deployed version of Smart Shop Query at https://smartshopquery.netlify.app/

Contact

For any inquiries or suggestions, feel free to reach out to Muhammad Hasan Junaid (mailto: [email protected]).

License

This project is licensed under the MIT License.

smart-shop-query's People

Contributors

hasanjunaid avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

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.