New backend integration#26
Open
bella-247 wants to merge 17 commits into
Open
Conversation
…avorites functionality
…heckout functionality and product details display; enhance product data management; add login and registration forms with improved styling.
- Updated about.css and cartDrawer.scss to improve section comments and added background color to about-section. - Deleted index.scss as part of restructuring stylesheets. - Refactored product-card.css for improved readability and consistency in formatting. - Modified index.js to import Cart and Favorites classes from their respective files. - Removed classes.js and split its contents into separate files: cart.js, favorites.js, order.js, product.js, and user.js for better modularity. - Implemented Cart and Favorites classes in their own files with appropriate methods for managing cart items and favorites. - Updated products.js to remove unnecessary comments and improve clarity.
- Updated ProfilePage to fetch and display user orders with loading state. - Improved user experience by adding order history section in ProfilePage. - Refactored RegisterPage to handle user registration with improved error handling and success messages. - Introduced new API service for authentication, including login and registration functionalities. - Added cart and favorites services to manage user cart and favorite products. - Implemented order management service for fetching and creating orders. - Enhanced product service to support fetching products with optional parameters. - Created reviews service for managing product reviews with mock data fallback. - Updated storage utility functions to support session storage alongside local storage.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.