Skip to content
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

Sprint#1 #5

Open
wants to merge 268 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 16 commits
Commits
Show all changes
268 commits
Select commit Hold shift + click to select a range
57b885c
init: start login page task
Nargiza14 Aug 10, 2023
953c226
feat: add new header look
Nargiza14 Aug 11, 2023
a1ec125
update: change login page
Nargiza14 Aug 11, 2023
e25eb40
feat: add registration btn
Nargiza14 Aug 12, 2023
aa1c374
fix: adjust Alert severity
Nargiza14 Aug 13, 2023
7aa13eb
feat: add link to logo image
Nargiza14 Aug 14, 2023
ad68b3a
feat: add remember me sign
Nargiza14 Aug 14, 2023
7a3645e
init: start registration page layout
Nargiza14 Aug 15, 2023
638b276
feat: add multi page form
Nargiza14 Aug 15, 2023
0e1c5fc
Merge pull request #8 from evgueniazet/sprint-2_login-page
evgueniazet Aug 15, 2023
f3d1a00
feat: add connection between form pages
Nargiza14 Aug 15, 2023
53cbe2a
feat: add useValidate
Aug 17, 2023
4b69caa
feat: add password show
Aug 18, 2023
01a2af1
Merge pull request #11 from evgueniazet/sprint-2_login-page_input-val…
evgueniazet Aug 18, 2023
8ad8c50
refactor: remove console.log in LoginPage
Aug 18, 2023
637e9d9
Merge pull request #11 from evgueniazet/sprint-2_login-page_input-val…
evgueniazet Aug 18, 2023
37a43a6
refactor: swap crlf to lf and remove header layout from App
LikeKugi Aug 18, 2023
ad41d23
feat: add rtk
LikeKugi Aug 18, 2023
d693d85
feat: add rtk store
LikeKugi Aug 18, 2023
5655d7b
Merge pull request #9 from evgueniazet/sprint-2_registration-page_layout
evgueniazet Aug 18, 2023
d800e98
feat: add login page authentication
LikeKugi Aug 18, 2023
20f9a5c
feat: add store hooks
LikeKugi Aug 18, 2023
1a22823
feat: handle auth token on login page
LikeKugi Aug 18, 2023
9b5a391
refactor: refactor code
LikeKugi Aug 18, 2023
5a7263a
feat: add redirection on login page
LikeKugi Aug 18, 2023
88b5d4b
refactor: linter refactors
LikeKugi Aug 18, 2023
fc65aa0
init: start error page task
Nargiza14 Aug 18, 2023
39fcee3
feat: add page layout
Nargiza14 Aug 18, 2023
30a1f6e
feat: add gif
Nargiza14 Aug 19, 2023
0b72ee9
Merge pull request #14 from evgueniazet/sprint-2_error-page
evgueniazet Aug 20, 2023
3776707
refactor: change page insertion
Aug 20, 2023
658455c
refactor: change useValidate hook
Aug 20, 2023
384cbdb
feat: register fields errors
Aug 20, 2023
09d199c
feat: add global error message
Aug 20, 2023
f36a503
Merge branch 'sprint-2_login-registration-main' into sprint-2_login-p…
LikeKugi Aug 20, 2023
a759c55
Merge pull request #13 from evgueniazet/sprint-2_login-page_authentic…
LikeKugi Aug 20, 2023
42b2f7c
Merge branch 'sprint-2_login-registration-main' into sprint-2_registr…
LikeKugi Aug 20, 2023
a1819d9
Merge pull request #15 from evgueniazet/sprint-2_registration-page_in…
LikeKugi Aug 20, 2023
40b338a
fix: add redirection to main page if user is logged in
LikeKugi Aug 20, 2023
abdc1b5
feat: add getLoggedIn hook
LikeKugi Aug 20, 2023
9f0f6c7
feat: add redirection to main page from registration page if user is …
LikeKugi Aug 20, 2023
bbf0228
fix: disable ts-ignore on form props
LikeKugi Aug 20, 2023
d7a4868
feat: add globalError
Aug 20, 2023
6d725da
refactor: rebase
Aug 20, 2023
6355b04
feat: add ability to save refresh token
LikeKugi Aug 20, 2023
8933b51
feat: add Logout page
LikeKugi Aug 20, 2023
33e8eb2
feat: add myCustomerApi and ability to save use refreshTokenFlow
LikeKugi Aug 20, 2023
213c77c
fix: remove console.log
LikeKugi Aug 20, 2023
18f346d
chores: daily chores
LikeKugi Aug 20, 2023
2a3aa46
Merge pull request #17 from evgueniazet/sprint-2_registration-enhance…
evgueniazet Aug 21, 2023
fd22383
refactor: move routes to another object and refactor the AppBar menu
LikeKugi Aug 21, 2023
6d8c8a9
refactor: switch default export to export const in userSlice
LikeKugi Aug 21, 2023
3890f50
fix: fix background position of img on login page
LikeKugi Aug 21, 2023
8167cc4
refactor: change color to green
LikeKugi Aug 21, 2023
a9fab50
refactor: change color to green
LikeKugi Aug 21, 2023
b996c2a
fix: change errors display
Aug 21, 2023
6e916e7
Merge branch 'sprint-2_login-registration-main' into sprint-2_registr…
evgueniazet Aug 21, 2023
87501b5
fix: fix state in userSlice in case of error of authorization
LikeKugi Aug 21, 2023
7e5b1db
Merge pull request #16 from evgueniazet/sprint-2_registration-page_in…
evgueniazet Aug 21, 2023
56c95ea
Merge pull request #18 from evgueniazet/sprint-2_router-enhancements
evgueniazet Aug 21, 2023
9a8d3ea
init: start billing page
Nargiza14 Aug 21, 2023
cb51159
fix: change password validation
Nargiza14 Aug 21, 2023
a28b096
feat: add form-page 4
Nargiza14 Aug 21, 2023
542edbe
feat: add label changes
Nargiza14 Aug 21, 2023
a3d09c3
feat:add unit tests in sprint2 task
Aug 21, 2023
7b11021
update: change labels
Nargiza14 Aug 21, 2023
35a9281
Merge pull request #20 from evgueniazet/sprint-2_registration-page_fo…
evgueniazet Aug 21, 2023
9fe5d09
Merge branch 'sprint-2_login-registration-main' into sprint-2_tests
evgueniazet Aug 21, 2023
1f0a3c7
Merge pull request #19 from evgueniazet/sprint-2_tests
evgueniazet Aug 21, 2023
a55169f
feat: add checkbox handling
Aug 21, 2023
b597c73
Merge pull request #21 from evgueniazet/sprint-2_registration-page_ad…
evgueniazet Aug 21, 2023
bc85108
feat: registration and redirect
LikeKugi Aug 21, 2023
7eae8a3
feat: registration and redirect
LikeKugi Aug 21, 2023
712c33e
Merge pull request #22 from evgueniazet/sprint-2_login-registration-main
evgueniazet Aug 21, 2023
c681dd2
fix: some fixes for development mode in gh-pages
LikeKugi Aug 22, 2023
6974762
fix: some fixes for development mode in gh-pages
LikeKugi Aug 22, 2023
ba2e9ec
fix: token flow after logout
LikeKugi Aug 22, 2023
5cc93df
fix: token flow after logout
LikeKugi Aug 22, 2023
d4d4541
Merge pull request #24 from evgueniazet/sprint-2_deploy-prepare
LikeKugi Aug 23, 2023
c40fafe
init: start catalog page task
Nargiza14 Aug 23, 2023
ec86ac8
feat: add filtering and sorting functionality
Nargiza14 Aug 24, 2023
b684579
feat: add products image, list and cards
Nargiza14 Aug 24, 2023
8b3d89f
feat: add list styles
Nargiza14 Aug 25, 2023
6220277
feat: add search form
Nargiza14 Aug 26, 2023
d2c96d0
feat: add search form styles
Nargiza14 Aug 26, 2023
7a2e553
feat: add link button
Nargiza14 Aug 27, 2023
1d51ece
update: add changes
Nargiza14 Aug 27, 2023
a8a8474
init: start product page layout
Nargiza14 Aug 27, 2023
691a89e
Merge pull request #25 from evgueniazet/sprint-3_catalog-page_layout
evgueniazet Aug 27, 2023
1788df0
feat: add second test image
Nargiza14 Aug 27, 2023
25284c5
update: change product page
Nargiza14 Aug 27, 2023
903bb5f
feat: add left side styles
Nargiza14 Aug 27, 2023
785e6d0
feat: add right part styles
Nargiza14 Aug 28, 2023
f70f2e2
feat: add modal window
Nargiza14 Aug 28, 2023
feb65bb
feat: add modal close btn
Nargiza14 Aug 28, 2023
0797c03
feat: add redirect from user page
Aug 29, 2023
54a7d8b
Merge branch 'sprint-3_catalog-product-profile' into sprint-3_routing…
Aug 29, 2023
35251d5
feat: add modal pic arrow btns
Nargiza14 Aug 29, 2023
d6309f7
fix: change modal top position
Nargiza14 Aug 29, 2023
448b388
feat: add base query interface and query all products response
LikeKugi Aug 29, 2023
a481552
fix: fix module scss and layout
LikeKugi Aug 30, 2023
ee75a4a
feat: add responses to products api
LikeKugi Aug 30, 2023
c952e13
feat: add component to fetch products from api and refactored routes
LikeKugi Aug 30, 2023
80f58c2
fix: fix link to product page
LikeKugi Aug 30, 2023
c8ac385
fix: remove text underline in header
LikeKugi Aug 30, 2023
8597f47
refactor: change navigation links in header
LikeKugi Aug 30, 2023
12c2721
feat: add products api
LikeKugi Aug 30, 2023
cc132b8
feat: add products middleware to the store
LikeKugi Aug 30, 2023
afb833f
init: start profile page layout
Nargiza14 Aug 30, 2023
390f646
feat: add categories to layout products page
LikeKugi Aug 30, 2023
619c5b4
feat: show products in cards
LikeKugi Aug 30, 2023
17e786b
fix: card layout
LikeKugi Aug 30, 2023
4690d3c
feat: add LoadingProgress on main page
LikeKugi Aug 30, 2023
5603b55
fix: remove strict mode from index
LikeKugi Aug 30, 2023
4ccb23e
feat: products list layout using api data
LikeKugi Aug 30, 2023
fc3f19a
Merge pull request #26 from evgueniazet/sprint-3_product-page_layout
evgueniazet Aug 30, 2023
ce0284d
Merge pull request #27 from evgueniazet/sprint-3_catalog-page_fetch-api
evgueniazet Aug 30, 2023
c5ed8e6
feat: add product page detailed info
LikeKugi Aug 31, 2023
a4b12d3
feat: add product page detailed info
LikeKugi Aug 31, 2023
397948b
feat: add userId route
Aug 31, 2023
143d102
fix:replace isLoggedIn in private route
Aug 31, 2023
121867c
fix: change approutes
Aug 31, 2023
c42c679
Merge branch 'sprint-3_catalog-product-profile' into sprint-3_routing…
evgueniazet Aug 31, 2023
3b416c9
feat: add hover for cards
Aug 31, 2023
82ff2d8
fix: remove hover on cards
Aug 31, 2023
83a9108
feat: add hover for cards
Aug 31, 2023
71934bd
Merge pull request #28 from evgueniazet/sprint-3_product-page_display…
evgueniazet Aug 31, 2023
b47a70a
feat: add navigation on the page
Nargiza14 Aug 31, 2023
ece7c5d
feat: add page image
Nargiza14 Aug 31, 2023
4af5653
feat: add api for taxes and taxes slice
LikeKugi Aug 31, 2023
fe1d719
feat: add api for taxes and taxes slice
LikeKugi Aug 31, 2023
380b117
feat: add hover for cards
Aug 31, 2023
649968c
fix: remove hover on cards
Aug 31, 2023
96ccfe4
fix: change userpage route
Aug 31, 2023
631b46b
Merge pull request #30 from evgueniazet/sprint-3_catalog-page_interac…
evgueniazet Aug 31, 2023
0cd1e5d
Merge pull request #29 from evgueniazet/sprint-3_routing-implementation
evgueniazet Aug 31, 2023
9310b27
feat: add user form 1
Nargiza14 Aug 31, 2023
a88dd22
feat: add sales for products
Aug 31, 2023
ad73451
Merge branch 'sprint-3_catalog-product-profile' into sprint-3_product…
evgueniazet Aug 31, 2023
d9c29c3
Merge pull request #31 from evgueniazet/sprint-3_product-page_sales
evgueniazet Aug 31, 2023
d72a037
chores: start searching implementation task
LikeKugi Aug 31, 2023
ecf43d8
feat: add sale on catalog page
Sep 1, 2023
e391590
feat: add edit icons
Nargiza14 Sep 1, 2023
10792f7
fix: change final price designation
Sep 1, 2023
c7d8080
feat: search plants implementation
LikeKugi Sep 1, 2023
c1bf456
feat: search plants implementation
LikeKugi Sep 1, 2023
10214da
Merge branch 'sprint-3_catalog-product-profile' into sprint-3_catalog…
LikeKugi Sep 1, 2023
f4660c5
feat: add message for empty product list
Sep 1, 2023
d646afd
Merge pull request #33 from evgueniazet/sprint-3_catalog-page_search
evgueniazet Sep 1, 2023
61c9cbc
Merge pull request #32 from evgueniazet/sprint-3_catalog-page_sales
evgueniazet Sep 1, 2023
ddbc90a
feat: add shipping address board
Nargiza14 Sep 1, 2023
2f8f578
fix: change styles
Nargiza14 Sep 1, 2023
a933943
feat: add checkbox and button to UserForm2
Nargiza14 Sep 1, 2023
bfed1de
feat: add page UserForm3
Nargiza14 Sep 1, 2023
8a3d7d2
feat: add sort
LikeKugi Sep 1, 2023
86e5a1f
feat: add sort
LikeKugi Sep 1, 2023
8dd91e0
update: change UserForm1
Nargiza14 Sep 2, 2023
5e053cc
Merge pull request #35 from evgueniazet/sprint-3_profile-page_layout
evgueniazet Sep 2, 2023
11fe5ac
Merge pull request #34 from evgueniazet/sprint-3_catalog-page_sort
evgueniazet Sep 2, 2023
6c89d6c
feat: add api to fetch myCustomer detail and add slice for myCustomer
LikeKugi Sep 2, 2023
2ed02c5
Merge pull request #36 from evgueniazet/sprint-3_profile-page_user-info
evgueniazet Sep 2, 2023
9bc7558
feat: add display data for lastname,firstname, birthdate,email fields
Sep 2, 2023
6436e38
feat: add editing for email,lastname,firstname and birthdate fields
Sep 2, 2023
62e4c99
fix: fix ignorance of fetching taxes
LikeKugi Sep 2, 2023
4071a4e
feat: add ability to set sort and filter goods
LikeKugi Sep 3, 2023
f986348
fix: fix query with empty filter array
LikeKugi Sep 3, 2023
e5b288e
feat: add validation for user data
Sep 3, 2023
57c5ba0
feat: add adresses in fields
Sep 3, 2023
a3a3ae9
Merge pull request #37 from evgueniazet/sprint-3_catalog-page_filter
evgueniazet Sep 3, 2023
f54e683
feat: add password validation on userpage
Sep 3, 2023
f1df6c6
feat: add password validation
Sep 3, 2023
abdb544
fead: add error handle in password page
Sep 3, 2023
c0a9b71
Merge pull request #38 from evgueniazet/sprint-3_user-page_settings
evgueniazet Sep 3, 2023
cba9489
fix: some minor fixes
LikeKugi Sep 4, 2023
ff7896d
feat: add update action types for update my customer
LikeKugi Sep 4, 2023
9a90c9e
feat: add change backend info with refetch
LikeKugi Sep 4, 2023
ce2157d
feat: add api endpoint
LikeKugi Sep 4, 2023
bd85a93
feat: validation and request for add new address
LikeKugi Sep 4, 2023
ada7deb
refactor: eslint fixes
LikeKugi Sep 4, 2023
e011382
chores: start password field
LikeKugi Sep 4, 2023
db2aa02
fix: edit user features works correct
LikeKugi Sep 5, 2023
7174ad6
fix: remove console log
LikeKugi Sep 5, 2023
b785d9e
Merge pull request #39 from evgueniazet/sprint-3_catalog-product-profile
LikeKugi Sep 5, 2023
c309d15
init: start about us page layout
Nargiza14 Sep 6, 2023
1a9e990
feat: add avatars and github links
Nargiza14 Sep 6, 2023
194f452
feat: add cards info
Nargiza14 Sep 6, 2023
d28ddb3
feat: add page background
Nargiza14 Sep 6, 2023
89b0f03
feat: swap button from detailed link to add to cart action in Product…
LikeKugi Sep 6, 2023
94123b6
update: change styles
Nargiza14 Sep 7, 2023
f8308f8
Merge pull request #42 from evgueniazet/sprint-4_catalog-page_enhance…
evgueniazet Sep 7, 2023
689083c
Merge pull request #41 from evgueniazet/sprint-3_user-page_manage-api
evgueniazet Sep 7, 2023
c692f85
Merge pull request #40 from evgueniazet/sprint-4_about-us-page_layout
evgueniazet Sep 7, 2023
99c165a
fix: return in useEffect filter params and move types to types folder
LikeKugi Sep 7, 2023
5546f31
feat: add pagination for lazy loading implementation
LikeKugi Sep 7, 2023
5cdfc02
feat: add pagination state in ProductsQuery
LikeKugi Sep 7, 2023
8d24d12
Merge pull request #43 from evgueniazet/sprint-4_catalog-page_lazy-lo…
LikeKugi Sep 8, 2023
97b47cd
refactor: change id on elements to useId hook
LikeKugi Sep 8, 2023
88a78e4
refactor: eslint fixes
LikeKugi Sep 8, 2023
0ca2854
feat: add session storage token flow
LikeKugi Sep 8, 2023
bcd959a
refactor: eslint fixes
LikeKugi Sep 8, 2023
18e331c
init: start basket page layout
Nargiza14 Sep 8, 2023
6399faa
Merge pull request #44 from evgueniazet/sprint-4_refactor-features
LikeKugi Sep 9, 2023
210dd02
feat: add empty cart page layout
Nargiza14 Sep 9, 2023
de2f39a
feat: add quantity btns
Nargiza14 Sep 9, 2023
0b7f03d
feat: add cart summary section
Nargiza14 Sep 9, 2023
cec0eff
feat: add cart api types and base query
LikeKugi Sep 9, 2023
43bbc28
feat: add delete cart api query
LikeKugi Sep 9, 2023
8b5561a
feat: add check out btn
Nargiza14 Sep 10, 2023
d6c0de0
feat: add create cart request on get active cart error response
LikeKugi Sep 10, 2023
366417a
feat: add promo code section
Nargiza14 Sep 10, 2023
24edb83
feat: add create slice
LikeKugi Sep 10, 2023
6c5d1fe
feat: add feature to put and remove product into cart
LikeKugi Sep 11, 2023
0517e66
refactor: eslint fixes
LikeKugi Sep 11, 2023
ffded85
refactor: eslint fixes
LikeKugi Sep 11, 2023
580c26b
fix: change package json
evgueniazet Sep 12, 2023
fdbb38a
Merge pull request #46 from evgueniazet/sprint-4_cart-flow
evgueniazet Sep 12, 2023
ad4692d
Merge pull request #45 from evgueniazet/sprint-4_basket-page_layout
evgueniazet Sep 12, 2023
b402652
init: start home page layout
Nargiza14 Sep 13, 2023
515107e
feat: add banner
Nargiza14 Sep 13, 2023
64a2e58
feat: add promo codes
Nargiza14 Sep 13, 2023
d5cf22c
feat: add info section
Nargiza14 Sep 14, 2023
278dbb0
feat: add footer.tsx file
Nargiza14 Sep 14, 2023
8de71a1
feat: add footer info
Nargiza14 Sep 14, 2023
7cbfae2
feat: add footer animation
Nargiza14 Sep 14, 2023
c9deae5
fix: change header logo
Nargiza14 Sep 14, 2023
bdb41c7
fix: refetch problems
LikeKugi Sep 14, 2023
01f8759
feat: add modifier for line items quantity in cart
LikeKugi Sep 14, 2023
d47dfcb
feat: add cart icon in header
LikeKugi Sep 14, 2023
bbc0570
feat: add and fixed layout for each line item in cart
LikeKugi Sep 14, 2023
d3d1759
refactor: eslint fixes
LikeKugi Sep 14, 2023
bdde3d1
Merge pull request #48 from evgueniazet/sprint-4_basket-features
evgueniazet Sep 15, 2023
9b76c28
Merge pull request #49 from evgueniazet/sprint-4_home-page_layout
evgueniazet Sep 15, 2023
2e125a1
fix: clear cart button fix
LikeKugi Sep 15, 2023
453fae9
fix: footer layout
LikeKugi Sep 15, 2023
28916af
refactor: remove console log
Sep 10, 2023
1cf0e04
fix: fix types in api
LikeKugi Sep 16, 2023
3139839
fix: discounts in product card
LikeKugi Sep 16, 2023
6eb86ec
feat: add discount codes on home page
LikeKugi Sep 16, 2023
f153222
refactor: eslint fixes
LikeKugi Sep 16, 2023
f32356d
feat: add query in basket discount form
LikeKugi Sep 17, 2023
15b1023
feat: add unit tests
Sep 17, 2023
fcfe917
feat: add subtotal price calculation
LikeKugi Sep 17, 2023
b5c85b9
feat: add subtotal and total prices in basket line items
LikeKugi Sep 17, 2023
f4049f8
refactor: eslint fixes
LikeKugi Sep 17, 2023
d9784fb
feat: add unit tests
Sep 18, 2023
ede6906
Merge pull request #51 from evgueniazet/sprint-4_basket_discounts
evgueniazet Sep 18, 2023
7bd05b1
feat: add unit tests
Sep 18, 2023
0021189
Merge branch 'release_basket-about_us' into sprint-4_unit-tests
evgueniazet Sep 18, 2023
296a981
Merge pull request #52 from evgueniazet/sprint-4_unit-tests
evgueniazet Sep 18, 2023
1464cde
Merge pull request #53 from evgueniazet/release_basket-about_us
LikeKugi Sep 20, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
116 changes: 116 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
*~
*.swp
*.tmp
*.temp
build/
dist/
out/
bin/

# 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

# JetBrains folders
.idea
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

cd ./e-commerce-app && npm run prettier:write
73 changes: 72 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,72 @@
# eCommerce-Application
# eCommerce-Application

This is fully functional E-Commerce app built with React

## App's demo : ![demo]()

### Or link to live site [here]()

## Project Purpose

- learn how to create a full-fledged React application
- improve TypeScript skills
- learn to work on a project in a team

## What the project is about?

This e-Commerce App is a software application that enables online commerce for merchants and consumers.
It allows customers to see the entire range, sort and select the desired products. For the convenience of customers, prices and product descriptions are indicated. Simple site navigation, product filtering option, easy payment by card, shopping cart and other features will make shopping experience fast and pleasant!

## Project powered by:

- React, Webpack, TypeScript, ESLint, Prettier, Husky, Jest, SCSS
- using CommerceTools

### How to clone this project?

```sh
Clone this repository:
$ git clone https://github.com/evgueniazet/eCommerce-Application.git

Go to folder:
$ cd eCommerce-Application
```

### Installing

```sh
Install dependencies:
$ npm install

Run the app in the development mode:
$ npm start

Build the app for production:
$ npm run build
```

### Testing and running

```sh
To launch the test runner in the interactive watch mode:
$ npm test

To copy all configs and transitive dependencies:
$ npm run eject

Run ESLint to lint and to fix the code:
$ npm run lint
$ npm run lint:fix

Run Prettier to check and fix the code:
$ npm run format
$ npm run prettier:check
$ npm run prettier:write
```

## Authors

Rolling Scopes School: React Dreamteam
mentored by [Hanna Dziahonskaya](https://app.rs.school/profile?githubId=santerna)

Happy coding!
40 changes: 40 additions & 0 deletions e-commerce-app/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
module.exports = {
"env": {
"browser": true,
"es2021": true,
"node": true,
"jest": true
},
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"overrides": [
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"react",
"@typescript-eslint",
"prettier"
],
"rules": {
'react/react-in-jsx-scope': 'off',
camelcase: 'error',
quotes: ['error', 'single'],
'no-duplicate-imports': 'error',
semi: 'error',
'linebreak-style': ['error', 'unix'],
'spaced-comment': ['error', 'always', { markers: ['/'] }],
},
settings: {
'import/resolver': {
typescript: {},
},
},
}
23 changes: 23 additions & 0 deletions e-commerce-app/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
12 changes: 12 additions & 0 deletions e-commerce-app/.prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"printWidth": 100,
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": true,
"quoteProps": "as-needed",
"jsxSingleQuote": false,
"trailingComma": "all",
"bracketSpacing": true,
"arrowParens": "always"
}
46 changes: 46 additions & 0 deletions e-commerce-app/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Getting Started with Create React App

This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).

## Available Scripts

In the project directory, you can run:

### `npm start`

Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.

The page will reload if you make edits.\
You will also see any lint errors in the console.

### `npm test`

Launches the test runner in the interactive watch mode.\
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.

### `npm run build`

Builds the app for production to the `build` folder.\
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.\
Your app is ready to be deployed!

See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.

### `npm run eject`

**Note: this is a one-way operation. Once you `eject`, you can’t go back!**

If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.

You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.

## Learn More

You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).

To learn React, check out the [React documentation](https://reactjs.org/).
Loading