-
Notifications
You must be signed in to change notification settings - Fork 2
Sprint 1: Repository Setup, Project Management, CommerceTools Integration, and Development Environment Configuration #10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Anna-Mamedova
wants to merge
250
commits into
main
Choose a base branch
from
develop
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
250 commits
Select commit
Hold shift + click to select a range
37bfafc
feat: add gitignore file
Ritter1111 d596749
feat: configure webpack with eslint, prettier, typescript and react
Ritter1111 6535f65
feat: add script for eslint
Ritter1111 0217928
feat: add husky to project
Ritter1111 bed43e8
fix: change configuration husky
Ritter1111 e53a302
feat: add jest testing to project
Ritter1111 9878c85
fix: fix tsconfig
Ritter1111 b95ff91
Merge pull request #1 from Anna-Mamedova/feat/dev_config
Ritter1111 dbf1589
feat: add file pull_request_template.md
Anna-Mamedova c55e3e7
fix: add folder for pull_request_template.md file
Anna-Mamedova 8d8cb09
feat: add basic folders structure
Anna-Mamedova 2db50b5
feat: add basic folders structure
Anna-Mamedova 2f78279
Merge pull request #8 from Anna-Mamedova/feat/pull-request-template
Anna-Mamedova 405b8e6
docs: update readme
ElizabethVasilenko13 a833973
Merge branch 'develop' of https://github.com/Anna-Mamedova/ECommerce-β¦
ElizabethVasilenko13 e0a1f42
docs: remove one emoji
ElizabethVasilenko13 3e1f864
Merge pull request #9 from Anna-Mamedova/feat/readme
ElizabethVasilenko13 bd75899
feat: add material ui
Ritter1111 273c198
feat: add react-router-dom, clear ts.config
ElizabethVasilenko13 ce6a712
feat: implement log in page
Ritter1111 88e84fb
receive token and customer data from api and add error handling
Ritter1111 976bc22
Merge pull request #25 from Anna-Mamedova/feat/Integration-with-autheβ¦
Ritter1111 c458be6
feat: implement routing for navigation between login, registration, aβ¦
ElizabethVasilenko13 93d768b
feat: add basic sign up template
Anna-Mamedova 0fa0ed7
feat: add validation for inputs
Anna-Mamedova 149b1cd
feat: implement notFound page
ElizabethVasilenko13 b9b0cb2
feat: implement base redirect and redirect users who already login
Ritter1111 f5908b3
Merge pull request #26 from Anna-Mamedova/feat/routing-implementation
ElizabethVasilenko13 042add4
Merge branch 'release/login-registration-main' into feat/redirection-β¦
Ritter1111 7ab23e8
Merge pull request #27 from Anna-Mamedova/feat/redirection-and-nav-toβ¦
Ritter1111 5701e67
feat: add adress field template and validation
Anna-Mamedova 534c2cc
fix: fix login routing
ElizabethVasilenko13 199f603
docs: merge documentation updates from release/login-registration-main
Anna-Mamedova fc2f45a
Merge pull request #28 from Anna-Mamedova/fix/fix-routing
ElizabethVasilenko13 5a115c2
Merge pull request #29 from Anna-Mamedova/feat/registration-page-inpuβ¦
Anna-Mamedova 901513a
feat: save refresh token to local storage
Ritter1111 d316cea
feat: add navigation to login page and new style for form inputs
Anna-Mamedova cfb9ec0
Merge pull request #30 from Anna-Mamedova/feat/navigation-to-Login-Page
Anna-Mamedova 22a83d8
feat: add links to all functional pages, add navbar
ElizabethVasilenko13 47c0be4
feat: implement refresh token after expiration
Ritter1111 6b19b52
Merge pull request #31 from Anna-Mamedova/feat/centralized-navigation
ElizabethVasilenko13 3a52a8a
feat: add error pop up
Ritter1111 4580ba5
Merge branch 'release/login-registration-main' into feat/authenticatiβ¦
Ritter1111 ca443fd
Merge pull request #32 from Anna-Mamedova/feat/authentication-token
Ritter1111 fbbd6e7
feat add template for shipping and billing address and validation
Anna-Mamedova 4b3bde7
feat: add signup logic
Anna-Mamedova 572ffe9
feat: add logic for add address
Anna-Mamedova d74eea3
feat: add logic for add set billing, shipping address and set defaultβ¦
Anna-Mamedova 09afc60
feat: implement burger menu, add btns styling
ElizabethVasilenko13 1a915f8
feat: update burger menu, add vars.css, update styles
ElizabethVasilenko13 987b6b1
feat: implement logout
ElizabethVasilenko13 58e10dd
refactor: refactor SignUp.tsx file
Anna-Mamedova add10cb
refactor: update link font size
ElizabethVasilenko13 99e4a5a
feat: add error toste notify and make pull from release/login-registrβ¦
Anna-Mamedova a9f84eb
Merge pull request #34 from Anna-Mamedova/feat/integration-with-autheβ¦
Anna-Mamedova 32adbf2
Merge pull request #33 from Anna-Mamedova/feat/evaluation-criteria-foβ¦
ElizabethVasilenko13 907c76f
feat: add logic for automatic login and redirect to main
Anna-Mamedova e1e234d
feat: add success popup
Anna-Mamedova 51247a2
Merge pull request #35 from Anna-Mamedova/feat/Redirect-to-the-main-pβ¦
Anna-Mamedova 24e3046
fix: change design submit button and input field
Ritter1111 2134d05
docs: add settings for netlify
Anna-Mamedova 21b4e3b
docs: add more settings for netlify
Anna-Mamedova 185f9f2
refactor: change .env const name
Anna-Mamedova 2ab3b26
feat: add validation for email
Ritter1111 ae7a567
fix: fix webpack sctipt
Anna-Mamedova 765a22d
fix: fix webpack sctipt
Anna-Mamedova 61bd916
feat: implement validation password
Ritter1111 f346b39
Merge pull request #36 from Anna-Mamedova/fix/fix-netlify-deploy
Anna-Mamedova 2711ac3
fix: fix validation
Anna-Mamedova 68fed30
Merge pull request #37 from Anna-Mamedova/fix/fix-signup-validate
Ritter1111 0792a6a
feat: implement show and hide password
Ritter1111 3160916
Merge branch 'release/login-registration-main' into feat/login-validaβ¦
Ritter1111 22d67c6
fex: change env variables
Ritter1111 053935c
Merge branch 'feat/login-validation' of https://github.com/Anna-Mamedβ¦
Ritter1111 d308188
fix: fix conflicts
Ritter1111 0a91da2
fix: add pop up for not correct email and assword
Ritter1111 ba9982a
Merge pull request #38 from Anna-Mamedova/feat/login-validation
Ritter1111 3169e28
feat: implement tests
ElizabethVasilenko13 90849ee
Merge branch 'release/login-registration-main' into feat/routing-navbβ¦
ElizabethVasilenko13 fbf5b0a
Merge pull request #39 from Anna-Mamedova/feat/routing-navbar-test
ElizabethVasilenko13 ca77ca2
fix: fix design
Ritter1111 1c83fd8
Merge pull request #40 from Anna-Mamedova/feat/login-page-test
Ritter1111 a5d06bf
fix: fix design
Ritter1111 a90bf73
feat: update burger menu
ElizabethVasilenko13 92f5054
feat: implement about us page
ElizabethVasilenko13 ddb59c2
fix: fix test
ElizabethVasilenko13 18d9714
feat: implement main page
ElizabethVasilenko13 1ebdc34
refactor: changle main page links flex direction
ElizabethVasilenko13 2787070
Merge pull request #41 from Anna-Mamedova/fix/main-page-fix
ElizabethVasilenko13 47cb996
feat: implement tests for login page
Ritter1111 e4dce01
feat: add password visibility for sign up
Ritter1111 66c0a59
feat: add test for passwordVisibility component
Ritter1111 ed22d36
Merge branch 'release/login-registration-main' into feat/login-test
Ritter1111 84d5b9c
Merge pull request #42 from Anna-Mamedova/feat/login-test
Ritter1111 08525d4
Merge pull request #43 from Anna-Mamedova/release/login-registration-β¦
Anna-Mamedova d58dad7
fix: fix burger menu
ElizabethVasilenko13 8c9dc8c
feat: add basic template for user profile
Anna-Mamedova 62aaf91
feat: add clear edit mode toggle
Anna-Mamedova d6a7627
feat: add default address mark and reset user info if it doesnt save
Anna-Mamedova 2912ed0
Merge pull request #54 from Anna-Mamedova/feat/display-user-profile-iβ¦
Anna-Mamedova 75dd4a4
feat: implement cards render
ElizabethVasilenko13 747d243
feat: add logic for set first name
Anna-Mamedova d4eb754
feat: add set last name and date of birth logics
Anna-Mamedova c46ae36
feat: add validation for personal user info
Anna-Mamedova 9e0b9b9
feat: add validation and logic for change email
Anna-Mamedova 5de3612
feat: show prices (with/without discount), clear interface
ElizabethVasilenko13 7bca7cf
feat: add validation and logic for reset password
Anna-Mamedova 8f74db5
refactor: update code, use prettier, fix fetching issue
ElizabethVasilenko13 cb3e25a
Merge branch 'release/catalog-product-profile' into feat/display-prodβ¦
ElizabethVasilenko13 27a7e4a
feat: implement redirect to the detail product page
ElizabethVasilenko13 c93dab3
feat: add card hover
ElizabethVasilenko13 8d67e7d
refactor: refactor code
ElizabethVasilenko13 32b33bc
refactor: remove reduntant files
ElizabethVasilenko13 72bbd72
refactor: run prettier
ElizabethVasilenko13 3b01494
Merge pull request #55 from Anna-Mamedova/feat/display-product-list
ElizabethVasilenko13 0380909
Merge pull request #56 from Anna-Mamedova/feat/interactive-product-cards
ElizabethVasilenko13 f8bdb66
feat: add logic for change address
Anna-Mamedova 8e7f1b3
feat: add logic for add billing and shipping address
Anna-Mamedova 7a2cdf7
feat: add logic for remove address
Anna-Mamedova b33291e
fix: fix
Anna-Mamedova d424105
feat: implement display images and description on detailed product page
Ritter1111 c31d549
feat: add logic for set defualt adresses
Anna-Mamedova 7035cbe
refactor: remove magic numbers
Anna-Mamedova 90be743
feat: add slider for images
Ritter1111 b41723d
feat: replace price from catalog to new component
Ritter1111 09ea3b8
feat: display size
Ritter1111 e7317c8
fix: fix slider
Ritter1111 0e3089e
Merge pull request #57 from Anna-Mamedova/feat/edit-user-profile-infoβ¦
Anna-Mamedova 3a25f2f
fix: with prettier
Ritter1111 9254a96
Merge pull request #58 from Anna-Mamedova/feat/detailed-product-page
Ritter1111 71f2488
feat: add modal window
Ritter1111 baf64fc
feat: add routing implementation
Anna-Mamedova cf1df04
feat: add slider for modal window and divided into small components
Ritter1111 24afc29
feat: add button for close modal
Ritter1111 51196f1
Merge pull request #59 from Anna-Mamedova/feat/routing-implementation
Anna-Mamedova e72f535
fix: add "I" char for interfaces
Ritter1111 1e8bdf9
Merge pull request #60 from Anna-Mamedova/feat/modal-slider
Ritter1111 634dba8
fix: delete material ui core
Ritter1111 61309ed
fix: fix catalog routing
ElizabethVasilenko13 4423310
Merge pull request #61 from Anna-Mamedova/fix/fix-detail-page-routing
ElizabethVasilenko13 5d882d9
fix: fix routing on user and detailed pages
Ritter1111 26176a5
Merge branch 'release/catalog-product-profile' into fix/fix-routing-aβ¦
Ritter1111 923979e
Merge pull request #62 from Anna-Mamedova/fix/fix-routing-and-detaileβ¦
Ritter1111 f380d4c
feat: implement category switcher
ElizabethVasilenko13 e943ab7
feat: run prettier, implement cards array generating acctording to caβ¦
ElizabethVasilenko13 ae5b729
refacrot: interfaces refactor
ElizabethVasilenko13 053ea67
feat: implement category title handler
ElizabethVasilenko13 2c00f8e
feat: implement breadcrumb array generating
ElizabethVasilenko13 20072dd
feat: implement breadcrumb navigation
ElizabethVasilenko13 7d93624
refactor: update catalog cards mapping
ElizabethVasilenko13 5d546b6
fix: fix main categories toggle
ElizabethVasilenko13 e8e101a
refactor: fix comments
ElizabethVasilenko13 6f075e3
Merge pull request #63 from Anna-Mamedova/feat/category-navigation
ElizabethVasilenko13 fe8003d
fix: fix user profile logic
Anna-Mamedova 2bdfb80
Merge pull request #64 from Anna-Mamedova/fix/fix-user-prifile-logic
Anna-Mamedova 83b9db3
fix: fix display images in catalog page and change save refresh token
Ritter1111 22f74ba
feat: implment all products sorting
ElizabethVasilenko13 259ad63
Merge pull request #65 from Anna-Mamedova/fix/fix-display-image
Ritter1111 8a53adb
fix: fix react toasity error
Ritter1111 2dac85a
feat: implement sorting
ElizabethVasilenko13 25f85fe
Merge branch 'release/catalog-product-profile' of https://github.com/β¦
ElizabethVasilenko13 1813385
feat: implement searh functionaluty
ElizabethVasilenko13 551e533
Merge pull request #67 from Anna-Mamedova/feat/product-filtering-sortβ¦
ElizabethVasilenko13 db65eda
refactort: remove console.log
ElizabethVasilenko13 d45823f
feat: implment price filtering
ElizabethVasilenko13 e86b2ca
feat: implement price in dollars for price range
ElizabethVasilenko13 b38551b
refactor: run prettier, move interface into folder
ElizabethVasilenko13 a53f0de
feat: add reset filters
ElizabethVasilenko13 e639453
refactor: remove console.log
ElizabethVasilenko13 74c2db2
Merge branch 'release/catalog-product-profile' into feat/product-filtβ¦
ElizabethVasilenko13 0a109fe
Merge pull request #68 from Anna-Mamedova/feat/product-filtering-sortβ¦
ElizabethVasilenko13 4a0efa2
fix: fix api url
ElizabethVasilenko13 a54f6ca
feat: implement folters styiling
ElizabethVasilenko13 96cd001
Merge branch 'feat/product-filtering-sorting-searching' of https://giβ¦
ElizabethVasilenko13 95e5a2f
refactor: update design
ElizabethVasilenko13 a67231c
refactor: refactor code
ElizabethVasilenko13 aa28edf
refactor: cange function order
ElizabethVasilenko13 31e2fb5
Merge pull request #69 from Anna-Mamedova/feat/product-filtering-sortβ¦
ElizabethVasilenko13 63e18ce
Merge pull request #66 from Anna-Mamedova/release/catalog-product-proβ¦
Ritter1111 c69e72e
fix: add formik for login and add use callback for navbar
Ritter1111 3b4ff5a
Merge pull request #70 from Anna-Mamedova/fix/fix-validation
Ritter1111 edec40e
refactort: create productsList component
ElizabethVasilenko13 3401f2a
refactor: change fetchCards endpoint, remove convert function
ElizabethVasilenko13 dd445bd
refactor: remove fetch category
ElizabethVasilenko13 66a0ab5
refactor: divide product categories into compoments
ElizabethVasilenko13 4e7d80c
fix: fix fethCards arguments bug
ElizabethVasilenko13 5da1e32
feat: add botton for add to cart from catalog
Anna-Mamedova baea3b8
feat: add disabled style
Anna-Mamedova 6837f24
Merge pull request #71 from Anna-Mamedova/feat/interactive-product-cards
Anna-Mamedova ec97eea
feat: add logic for create and update cart for auth customers
Anna-Mamedova 7b908c5
feat: add creation cart when user logins
Anna-Mamedova fe91a3b
fix: fix modal window
Ritter1111 7ab4791
refactor: code refactor
ElizabethVasilenko13 14a7ddf
refactor: add I to interfaces name
ElizabethVasilenko13 b715335
Merge pull request #87 from Anna-Mamedova/fix/calog-fix
ElizabethVasilenko13 fdac1dd
feat: implement cart route, refactor header icons
ElizabethVasilenko13 6334942
fix: fix cart name display
ElizabethVasilenko13 a195350
feat: add logic for anon user
Anna-Mamedova 8c07010
Merge pull request #88 from Anna-Mamedova/feat/shopping-cart-integration
Anna-Mamedova 5ebfc8c
Merge branch 'feat/shopping-cart-integration' of https://github.com/Aβ¦
ElizabethVasilenko13 d787fa4
feat: add busket page
Ritter1111 a8bbd34
Merge branch 'release/basket-about_us' of https://github.com/Anna-Mamβ¦
Ritter1111 eaad5d0
fix: add masterdata
Ritter1111 e6f1c52
feat: implement display items for basket page
Ritter1111 5ee5121
feat: implement quantity of items in the cart display
ElizabethVasilenko13 1eddc02
feat: add component basket info
Ritter1111 753cf62
Merge branch 'release/basket-about_us' into feat/routing-implementatiβ¦
ElizabethVasilenko13 ba5341f
Merge pull request #89 from Anna-Mamedova/feat/routing-implementationβ¦
ElizabethVasilenko13 75879bf
Merge branch 'release/basket-about_us' of https://github.com/Anna-Mamβ¦
Ritter1111 905cda2
fix: remove const
Ritter1111 5a42f06
Merge pull request #90 from Anna-Mamedova/feat/basket-items
Ritter1111 cf761f9
feat: add disabled for card in cart
Anna-Mamedova acc9ed0
fix: add message for empty cart
Ritter1111 93baaed
Merge pull request #91 from Anna-Mamedova/feat/performance-optimization
Ritter1111 9b6ab9f
fix: add data
Ritter1111 f06e97e
feat: add image for empty cart
Ritter1111 c6db705
feat: add remove item from basket
Ritter1111 e08fdb1
fix: fix all category filers error
ElizabethVasilenko13 3aab37e
feat: add api quantity
Ritter1111 05bb8ec
Merge pull request #92 from Anna-Mamedova/fix/catlog-all-fix
ElizabethVasilenko13 1c68910
fix: remove file
Ritter1111 d3fa694
fix: fix remove product and add folder for basket components
Ritter1111 2c677b3
Merge pull request #93 from Anna-Mamedova/feat/product-quantity
Ritter1111 a206b2f
feat: add button
Ritter1111 9021a38
feat: implement remove cart
Ritter1111 0584657
feat: add alert prompt
Ritter1111 7935202
feat: move functions into utils
ElizabethVasilenko13 e4abedb
feat: implement add/remove item from the detail product page
ElizabethVasilenko13 17c813c
refactor: run prettier
ElizabethVasilenko13 3dd65d6
fix: fix cart items quantity after sign up
ElizabethVasilenko13 f64bade
feat: add promocode to basket items
Ritter1111 6f9fc09
feat: implement team members deskription
ElizabethVasilenko13 57c09df
feat: implement display original and discounted prices after promo code
Ritter1111 db7968f
fix: remove commented code
Ritter1111 24c2f1b
feat: display promocodes on main page
Ritter1111 4e675a8
feat: implement footer
ElizabethVasilenko13 1f5449b
Merge branch 'release/basket-about_us' of https://github.com/Anna-Mamβ¦
Ritter1111 085a132
fix: resolve conflicts
Ritter1111 4f269e1
fix: remove brackets
Ritter1111 1956d42
Merge pull request #94 from Anna-Mamedova/feat/about-us-sprint-4
ElizabethVasilenko13 20b5842
Merge pull request #95 from Anna-Mamedova/feat/promo-codes
Ritter1111 1820f68
feat: add Infinite Scroll to the catalog page
Anna-Mamedova 9b5682b
fix: fix display discounted price
Ritter1111 258df56
fix: resolve conflicts
Anna-Mamedova 454c7ec
refactor: fix reviewers issues
Anna-Mamedova 35bf961
Merge pull request #96 from Anna-Mamedova/feat/performance-optimization
Anna-Mamedova c1ce51c
fix: fix 0 items display after all items removing
ElizabethVasilenko13 acbf647
Merge pull request #97 from Anna-Mamedova/feat/add-message
ElizabethVasilenko13 f0c55cd
Merge pull request #98 from Anna-Mamedova/release/basket-about_us
Ritter1111 3d998b5
Update README.md
Ritter1111 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| { | ||
| "presets": [ | ||
| "@babel/preset-react", | ||
| "@babel/preset-typescript" | ||
| ] | ||
| } |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| { | ||
| "env": { | ||
| "browser": true, | ||
| "es2021": true, | ||
| "node": true | ||
| }, | ||
| "extends": [ | ||
| "eslint:recommended", | ||
| "plugin:@typescript-eslint/recommended", | ||
| "plugin:react/recommended", | ||
| "prettier" | ||
| ], | ||
| "parser": "@typescript-eslint/parser", | ||
| "parserOptions": { | ||
| "ecmaFeatures": { | ||
| "jsx": true | ||
| }, | ||
| "ecmaVersion": "latest", | ||
| "sourceType": "module" | ||
| }, | ||
| "plugins": [ | ||
| "@typescript-eslint", | ||
| "react", | ||
| "prettier" | ||
| ], | ||
| "rules": { | ||
| "no-debugger": "off", | ||
| "no-console": 0, | ||
| "class-methods-use-this": "off", | ||
| "@typescript-eslint/no-explicit-any": "error", | ||
| "import/extensions": "off" | ||
| } | ||
| } |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| Implement # | ||
|
|
||
| Task: task 1 (1000 points / 1000 points) | ||
|
|
||
| - [x] feature 1 (200 points / 200 points) | ||
| - [x] feature 2 (100 points / 100 points) | ||
| - [x] feature ... | ||
| - [x] feature n (300 points / 300 points) | ||
|
|
||
|
|
||
| This is a: | ||
|
|
||
| - [x] π Feature | ||
| - [x] π Bug Fix | ||
| - [x] π Documentation Update | ||
| - [x] π¨ Style | ||
| - [x] π§βπ» Code Refactor | ||
| - [x] π₯ Performance Improvements | ||
| - [x] β Test | ||
| - [x] π€ Build | ||
| - [x] Other |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,104 @@ | ||
| # Logs | ||
| logs | ||
| *.log | ||
| npm-debug.log* | ||
| yarn-debug.log* | ||
| yarn-error.log* | ||
| lerna-debug.log* | ||
|
|
||
| # Diagnostic reports (https://nodejs.org/api/report.html) | ||
| report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json | ||
|
|
||
| # Runtime data | ||
| pids | ||
| *.pid | ||
| *.seed | ||
| *.pid.lock | ||
|
|
||
| # Directory for instrumented libs generated by jscoverage/JSCover | ||
| lib-cov | ||
|
|
||
| # Coverage directory used by tools like istanbul | ||
| coverage | ||
| *.lcov | ||
|
|
||
| # nyc test coverage | ||
| .nyc_output | ||
|
|
||
| # Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) | ||
| .grunt | ||
|
|
||
| # Bower dependency directory (https://bower.io/) | ||
| bower_components | ||
|
|
||
| # node-waf configuration | ||
| .lock-wscript | ||
|
|
||
| # Compiled binary addons (https://nodejs.org/api/addons.html) | ||
| build/Release | ||
|
|
||
| # Dependency directories | ||
| node_modules | ||
| jspm_packages/ | ||
|
|
||
| # TypeScript v1 declaration files | ||
| typings/ | ||
|
|
||
| # TypeScript cache | ||
| *.tsbuildinfo | ||
|
|
||
| # Optional npm cache directory | ||
| .npm | ||
|
|
||
| # Optional eslint cache | ||
| .eslintcache | ||
|
|
||
| # Microbundle cache | ||
| .rpt2_cache/ | ||
| .rts2_cache_cjs/ | ||
| .rts2_cache_es/ | ||
| .rts2_cache_umd/ | ||
|
|
||
| # Optional REPL history | ||
| .node_repl_history | ||
|
|
||
| # Output of 'npm pack' | ||
| *.tgz | ||
|
|
||
| # Yarn Integrity file | ||
| .yarn-integrity | ||
|
|
||
| # dotenv environment variables file | ||
| .env | ||
| .env.test | ||
|
|
||
| # parcel-bundler cache (https://parceljs.org/) | ||
| .cache | ||
|
|
||
| # Next.js build output | ||
| .next | ||
|
|
||
| # Nuxt.js build / generate output | ||
| .nuxt | ||
| # dist | ||
|
|
||
| # Gatsby files | ||
| .cache/ | ||
| # Comment in the public line in if your project uses Gatsby and *not* Next.js | ||
| # https://nextjs.org/blog/next-9-1#public-directory-support | ||
| # public | ||
|
|
||
| # vuepress build output | ||
| .vuepress/dist | ||
|
|
||
| # Serverless directories | ||
| .serverless/ | ||
|
|
||
| # FuseBox cache | ||
| .fusebox/ | ||
|
|
||
| # DynamoDB Local files | ||
| .dynamodb/ | ||
|
|
||
| # TernJS port file | ||
| .tern-port | ||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| #!/usr/bin/env sh | ||
| . "$(dirname -- "$0")/_/husky.sh" | ||
|
|
||
| npx lint-staged |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| { | ||
| "src/**/*.+(ts|tsx|js|jsx)": ["prettier --write", "eslint --fix"] | ||
| } |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| { | ||
| "semi": true, | ||
| "singleQuote": true, | ||
| "tabWidth": 2, | ||
| "trailingComma": "es5" | ||
| } |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,52 @@ | ||
| # ECommerce-Application | ||
| # ECommerce-Application | ||
| Welcome to our eCommerce application! This platform replicates real-world shopping experiences in a digital environment πͺ. It's a comprehensive online shopping portal that provides an interactive and seamless experience to users. From product discovery to checkout, the application ensures a smooth journey for the user, enhancing their engagement and boosting their purchasing confidence. | ||
|
|
||
| Users can browse through a vast range of products, view detailed descriptions, add their favorite items to the basket π, and proceed to checkout π³. It includes features such as user registration and login ππ, product search π, product categorization, and sorting to make the shopping experience more streamlined and convenient. | ||
|
|
||
| The application is powered by CommerceTools π, a leading provider of commerce solutions for B2C and B2B enterprises. CommerceTools offers a cloud-native, microservices-based commerce platform that enables brands to create unique and engaging digital commerce experiences. | ||
|
|
||
| Key pages in the application include | ||
| - Login and Registration pages π₯οΈ | ||
| - Main page π | ||
| - Catalog Product page π | ||
| - Detailed Product page π | ||
| - User Profile page π€ | ||
| - Basket page π | ||
| - About Us page πββοΈ | ||
|
|
||
| ## Technology stack used | ||
| ### Build with: | ||
| <img src="https://img.shields.io/badge/TypeScript-3178c6?logo=typescript&logoColor=white&style=ShieldStyle" /> <img src="https://img.shields.io/badge/React-4FACDF?logo=react&logoColor=white&style=ShieldStyle" /> <img src="https://img.shields.io/badge/JavaScript-F7DF1E?logo=javascript&logoColor=white&style=ShieldStyle" /> <img src="https://img.shields.io/badge/HTML-E34F26?logo=html5&logoColor=white&style=ShieldStyle" /> <img src="https://img.shields.io/badge/CSS-2971A3?logo=css3&logoColor=ColorName&style=ShieldStyle" /> <img src="https://img.shields.io/badge/Node.js-38883D?logo=node.js&logoColor=white&style=ShieldStyle" /> | ||
| <img src="https://img.shields.io/badge/WebPack-3178c6?logo=webpack&logoColor=ColorName&style=ShieldStyle" /> | ||
| ### Version Control and Development Tools used: | ||
| <img src="https://img.shields.io/badge/Git-DC4936?logo=git&logoColor=white&style=ShieldStyle" /> <img src="https://img.shields.io/badge/GitHub-1A1C1E?logo=github&logoColor=white&style=ShieldStyle" /> <img src="https://img.shields.io/badge/Visual Studio Code-0C72C5?logo=visual studio code&logoColor=white&style=ShieldStyle" /> | ||
|
|
||
| ## Setup and Running | ||
| To clone and run this application, you'll need [Git](https://git-scm.com/) and [Node.js](https://nodejs.org/en) (which comes with [npm](https://www.npmjs.com/)) installed on your computer. From your command line: | ||
| Clone this repository | ||
| ``` | ||
| $ git clone https://github.com/Anna-Mamedova/ECommerce-Application.git | ||
| ``` | ||
| Go into repository folder | ||
| ``` | ||
| $ cd ECommerce-Application | ||
| ``` | ||
| Install dependencies | ||
| ``` | ||
| $ npm install | ||
| ``` | ||
| Run the app | ||
| ``` | ||
| $ npm start | ||
| ``` | ||
| Deploy: https://ethno-wear.netlify.app/ | ||
|
|
||
| ## Available Scripts | ||
| In the project directory, you can run the following scripts using npm: | ||
| - `npm start` will start the development server using Webpack. It will serve your application in development mode and open it in your default web browser. | ||
| - `npm run build` will build your application for production using Webpack. The output files will be optimized and ready for deployment. | ||
| - `npm run clear` will remove the dist folder, which typically contains the built files. Use this script to clean up the build output. | ||
| - `npm run prettier` will run Prettier to format your TypeScript files in the src folder. Prettier will automatically apply consistent code formatting to your codebase. | ||
| - `npm run lint` will run ESLint to check for coding errors and style issues in your TypeScript files. It will report any problems found. | ||
| - `npm run lint:fix` will run ESLint to check and fix issues in your TypeScript files. It will apply automatic fixes to as many issues as possible. | ||
| - `npm test` will run the test suite using Jest. Jest will execute your test cases and provide the test results. |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| module.exports = { | ||
| testEnvironment: 'jsdom', | ||
| transform: { | ||
| '\\.[jt]sx?$': 'esbuild-jest', | ||
| }, | ||
| moduleNameMapper: { | ||
| '\\.(css)$': 'identity-obj-proxy', | ||
| }, | ||
| setupFiles: ["jest-canvas-mock"] | ||
| }; |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| [[redirects]] | ||
| from = "/*" | ||
| to = "/index.html" | ||
| status = 200 |
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make sure there is nothing extra (what is not used)