https://github.com/felix221123/audiophile-e-commerce-website
This is an Audiophile E-Commerce Website built using REACTJS and Typescript, utilises react context api for data fetching and also local storage for data storing and retrieval
https://github.com/felix221123/audiophile-e-commerce-website
localstorage reactjs saas tailwindcss typescript usecontext-hook
Last synced: 3 months ago
JSON representation
This is an Audiophile E-Commerce Website built using REACTJS and Typescript, utilises react context api for data fetching and also local storage for data storing and retrieval
- Host: GitHub
- URL: https://github.com/felix221123/audiophile-e-commerce-website
- Owner: Felix221123
- Created: 2024-03-04T17:47:42.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-18T14:50:06.000Z (about 2 years ago)
- Last Synced: 2025-01-25T12:41:42.679Z (over 1 year ago)
- Topics: localstorage, reactjs, saas, tailwindcss, typescript, usecontext-hook
- Language: CSS
- Homepage: https://audiophile-e-commerce-website-eight.vercel.app/
- Size: 2.52 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Frontend Mentor - Audiophile e-commerce website solution
This is a solution to the [Audiophile e-commerce website challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/audiophile-ecommerce-website-C8cuSd_wx). Frontend Mentor challenges help you improve your coding skills by building realistic projects.
## Table of contents
- [Overview](#overview)
- [The challenge](#the-challenge)
- [Links](#links)
- [My process](#my-process)
- [Built with](#built-with)
- [What I learned](#what-i-learned)
- [Continued development](#continued-development)
- [Useful resources](#useful-resources)
- [Author](#author)
## Overview
### The challenge
Users should be able to:
- View the optimal layout for the app depending on their device's screen size
- See hover states for all interactive elements on the page
- Add/Remove products from the cart
- Edit product quantities in the cart
- Fill in all fields in the checkout
- Receive form validations if fields are missed or incorrect during checkout
- See correct checkout totals depending on the products in the cart
- Shipping always adds $50 to the order
- VAT is calculated as 20% of the product total, excluding shipping
- See an order confirmation modal after checking out with an order summary
- **Bonus**: Keep track of what's in the cart, even after refreshing the browser (`localStorage` could be used for this if you're not building out a full-stack app)
### Links
- Solution URL: [Add solution URL here](https://your-solution-url.com)
- Live Site URL: [Add live site URL here](https://your-live-site-url.com)
## My process
### Built with
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- CSS Grid
- Mobile-first workflow
- [REACTJS] ([JS framework library](https://react.dev/learn/react-developer-tools))
- [TailwindCSS](https://tailwindcss.com/docs/)
- TypeScript
### What I learned
I learnt and advanced my knowledge on using REACTJS context api to allocate cart contents and how to manipulate it.
Additionally I also learnt to use the framer motion to animate my contents
### Continued development
I will continue to use REACTJS to build my frontend application and i will also use REDUX in any next project i build
### Useful resources
- [Animation Styles](https://animate.style/) - This helped me for to use animation in my projects
- [Framer motion](https://animate.style/) - This is the site for framer motion which helped me provide animation for my site
## Author
- Website - [mywebsite](https://felix221123.github.io/my-portfolio-website/)
- Frontend Mentor - [@Felix221123](https://www.frontendmentor.io/profile/Felix221123)
- Twitter - [@IxKvfi](https://www.twitter.com/IxKvfi)