crescentpartha / product-analysis-website-crescentpartha

Majestry Guitar Products Analysis Website is a React App | Customers Reviews - Display analytical information in the dashboard - Blog posts.

Home Page:https://product-analysis-website-crescentpartha.netlify.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Table of Contents

product-analysis-website-crescentpartha

Product Analysis Website

Repository Link
Live-Website Link

🔼Back to Top

Project Descriptions:

  • This is a Product Review website.
  • Customers Reviews are given.
  • Display analytical information about Investment Vs Revenue according to charts in dashboard.
  • Blogs contains some modern web development technology related posts.
  • Meaningful documentations of this project.

🔼Back to Top

Tasks Checklist:

  • Header or Navigation contains (HOME, REVIEWS, DASHBOARD, BLOGS, ABOUT, NOT FOUND)
  • Use Vanilla CSS or Tailwind-React or React-Bootstrap or other CSS Framework
  • Customer Reviews (3) with See All Reviews button, if you clicked, then it take you to another route called Reviews.
  • Create Review Related Data like name, description, rating, image, date
  • Meaningful commit, minimum six commit should be required
  • 404 or Not Found Route
  • Fix the Page Not found error when reload the page
  • Dashboard contain at least 2 chart like Line, Area, Bar, Column, Pie, Donut chart.
  • Chart data could be found in data.json, it is modifiable.
  • Give the meaningful title name and change the favicon.

🔼Back to Top

Optional tasks checklist:

  • Live demo button
  • Header or Navigation style is optional, functionality is mandatory.
  • favicon
  • Active Route (Custom Active Link)
  • Responsive the site
  • Conditional Rendering
  • Create more route as your wish

🔼Back to Top

Bonus tasks checklist:

  • Modify README.md file
    • Project-Name
    • Live-Website Link
    • What I did in this project (minimum 4 bullet point)
  • Destructuring
  • Meaningful components and variable names
  • Custom Hook for Home-Reviews & Review route
    • Home-Reviews route shows 3 reviews
    • Reviews route shows all reviews (12)
  • Answer the three (3) questions in the blogs route (at least 2)
    • What is Context API? What is the purpose of Context API?
    • What is Semantic Tag?
    • Difference among inline, block, inline-block elements?

🔼Back to Top

Some Conditions:

  • Product Review Website except Phone
  • Use meaningful text rather than Lorem Ipsum

🔼Back to Top


Special Notes

  1. To install recharts run:

    • npm install recharts --force (if I got error)
    • npm install recharts (otherwise)
  2. If you see the following warning, ignore it for now.

    • Warning: ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot
  3. For the dashboard, you can modify the data provided in data.json and you can load the data the way you want.

  4. [optional] To display ratings, you can use font-awesome stars or you can use react ratings website [class component might make it confusing]
    react rating github

npm install --save react-rating
install font-awesome for react
import Rating from 'react-rating';
import { faStar } from '@fortawesome/free-solid-svg-icons'
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
<Rating
    initialRating={3.5}
    emptySymbol={<FontAwesomeIcon icon={faStar} />}
    fullSymbol={<FontAwesomeIcon style={{color: 'goldenrod'}} icon={faStar} />}
    readonly
></Rating>

Please note, you will see an warning while using react rating
react-dom.development.js:86 Warning: Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.

🔼Back to Top

Inefficient Regular Expression Complexity in nth-check (Fix vulnerabilities)

🔼Back to Top

Solutions

npm audit says there's a warning about vulnerabilities in my project Open package.json. You will find this:

  "dependencies": {
    "react": "^17.0.2",
    "react-dom": "^17.0.2",
    "react-scripts": "4.0.3"
  }

Take react-scripts and move it to devDependencies (if you don't have it, create it):

  "dependencies": {
    "react": "^17.0.2",
    "react-dom": "^17.0.2"
  },
  "devDependencies": {
    "react-scripts": "4.0.3"
  },

Then, ensure you run npm audit --production rather than npm audit.

This will fix your warnings.

🔼Back to Top

About

Majestry Guitar Products Analysis Website is a React App | Customers Reviews - Display analytical information in the dashboard - Blog posts.

https://product-analysis-website-crescentpartha.netlify.app/


Languages

Language:JavaScript 91.9%Language:HTML 5.2%Language:CSS 2.9%