lallaheeee / react-shopping-cart

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Welcome to shopping cart πŸ‘‹

Version

Tech Stack

React + TypeScript + styled-components + Storybook + hooks API

preview

img

폴더 ꡬ쑰

src
β”œβ”€β”€ apis							  # API μš”μ²­ λ ˆμ΄μ–΄
β”œβ”€β”€ components
β”‚   β”œβ”€β”€ App.tsx
β”‚   β”œβ”€β”€ GlobalStyle.tsx
β”‚   β”œβ”€β”€ Router.tsx          ## Router
β”‚   β”œβ”€β”€ UI
β”‚   β”‚   β”œβ”€β”€ atoms					  # atoms + molecules
β”‚   β”‚   β”‚   β”œβ”€β”€ CouponSection
β”‚   β”‚   β”‚   β”œβ”€β”€ EmptyCart
β”‚   β”‚   β”‚   β”œβ”€β”€ Pagination
β”‚   β”‚   β”‚   β”œβ”€β”€ PaymentAmountSection
β”‚   β”‚   β”‚   β”œβ”€β”€ ProductCard
β”‚   β”‚   β”‚   β”œβ”€β”€ ShoppingCartItem
β”‚   β”‚   └── blocks					  # organims
β”‚   β”‚   β”‚   β”œβ”€β”€ ProductCartTabs
β”‚   β”‚   β”‚   β”œβ”€β”€ ProductList
β”‚   β”‚   β”‚   └── ShoppingCartTable
β”‚   β”‚   └── layouts
|   |
β”‚   └── pages
β”‚       β”œβ”€β”€ BaseTemplate.tsx
β”‚       β”œβ”€β”€ Product
β”‚       β”‚   └── useProductList		  # pageμ—μ„œλ§Œ μ“°μ΄λŠ” hooks
β”‚       └── ShoppingCart
β”œβ”€β”€ lib                     ## μ™ΈλΆ€ 라이브러리
β”‚ 
β”œβ”€β”€ contexts
β”‚   └── ShoppingCarts
β”‚ 
β”œβ”€β”€ hooks							  # 곡톡 hooks
β”‚   └── useFetch
β”‚ 
└── types							  # domainκ³Ό κ΄€λ ¨λœ type
    └── index.ts

πŸ“• storybook

Install

yarn install

Usage

yarn server  # start json-server
yarn start   # start react

Run Storybook

yarn storybook

Author

πŸ‘€ @lallaheeee

Show your support

Give a ⭐️ if this project helped you!


This README was generated with ❀️ by readme-md-generator

About


Languages

Language:TypeScript 96.1%Language:JavaScript 3.3%Language:HTML 0.6%