Skip to content

๐Ÿ›๏ธ Firebase์™€ Stripe๋ฅผ ํ™œ์šฉํ•œ ํŒจ์…˜ ์ด์ปค๋จธ์Šค ์›น ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜

Notifications You must be signed in to change notification settings

smosco/E-commerce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ›๏ธ SMOSCOMMERCE ํŒจ์…˜ ์›น์‚ฌ์ดํŠธ

Firebase์™€ Stripe๋ฅผ ํ™œ์šฉํ•œ ํŒจ์…˜ ์ด์ปค๋จธ์Šค ์›น ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜

๐ŸŒŸ ์†Œ๊ฐœ

์ด ํ”„๋กœ์ ํŠธ๋Š” Firebase๋ฅผ ๊ธฐ๋ฐ˜์œผ๋กœ ํ•œ ์„œ๋ฒ„๋ฆฌ์Šค ํŒจ์…˜ ์‡ผํ•‘๋ชฐ ์›น ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์ž…๋‹ˆ๋‹ค. ์‚ฌ์šฉ์ž ์ธ์ฆ, ๊ฒฐ์ œ ์‹œ์Šคํ…œ, ์ œํ’ˆ ๊ด€๋ฆฌ ๋“ฑ์˜ ๊ธฐ๋Šฅ์„ ์ œ๊ณตํ•˜์—ฌ ์‚ฌ์šฉ์ž๊ฐ€ ํŽธ๋ฆฌํ•˜๊ฒŒ ์‡ผํ•‘ํ•  ์ˆ˜ ์žˆ๋Š” ํ™˜๊ฒฝ์„ ๊ตฌ์ถ•ํ•˜์˜€์Šต๋‹ˆ๋‹ค.

๐Ÿ”ง ์ฃผ์š” ๊ธฐ๋Šฅ

  • ์‚ฌ์šฉ์ž ์ธ์ฆ: Firebase Authentication์„ ์‚ฌ์šฉํ•˜์—ฌ ์ด๋ฉ”์ผ ๋ฐ Google ๋กœ๊ทธ์ธ์„ ๊ตฌํ˜„
  • ์ œํ’ˆ ๊ด€๋ฆฌ: Firestore๋ฅผ ์ด์šฉํ•ด ์ œํ’ˆ ์ถ”๊ฐ€, ์‚ญ์ œ, ์กฐํšŒ ๊ธฐ๋Šฅ ์ œ๊ณต
  • ์žฅ๋ฐ”๊ตฌ๋‹ˆ: Zustand๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ์žฅ๋ฐ”๊ตฌ๋‹ˆ ์ƒํƒœ๋ฅผ ๊ด€๋ฆฌํ•˜๊ณ , ๋กœ์ปฌ ์Šคํ† ๋ฆฌ์ง€์— ๋ฐ์ดํ„ฐ๋ฅผ ์ €์žฅํ•˜์—ฌ ์ผ๊ด€๋œ ์‚ฌ์šฉ์ž ๊ฒฝํ—˜ ์ œ๊ณต
  • ๊ฒฐ์ œ ์‹œ์Šคํ…œ: Stripe ๊ฒฐ์ œ ์‹œ์Šคํ…œ์„ Firebase Functions์™€ ์—ฐ๋™ํ•˜์—ฌ ์•ˆ์ „ํ•œ ๊ฒฐ์ œ ์ฒ˜๋ฆฌ
  • ํŽ˜์ด์ง€๋„ค์ด์…˜ ๋ฐ ๊ฒ€์ƒ‰ ํ•„ํ„ฐ: ์ œํ’ˆ ๊ฒ€์ƒ‰ ๋ฐ ์นดํ…Œ๊ณ ๋ฆฌ ํ•„ํ„ฐ๋ง ๊ธฐ๋Šฅ ๊ตฌํ˜„

๐Ÿ› ๏ธ ๊ธฐ์ˆ  ์Šคํƒ

  • ํ”„๋ก ํŠธ์—”๋“œ: React, Zustand, Sass
  • ๋ฐฑ์—”๋“œ & ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค: Firebase (Authentication, Firestore, Functions)
  • ๊ฒฐ์ œ ์‹œ์Šคํ…œ: Stripe API
  • ์ƒํƒœ ๊ด€๋ฆฌ: Zustand
  • UI ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ: MUI (Material-UI)

๐Ÿš€ ๋ฐฐํฌ ๋งํฌ

SMOSCOMMERCE ์›น์‚ฌ์ดํŠธ

๐Ÿ“‚ ํ”„๋กœ์ ํŠธ ๊ตฌ์กฐ

โ”œโ”€โ”€ functions
โ”œโ”€โ”€ public
โ”œโ”€โ”€ src
โ”‚   โ”œโ”€โ”€ assets
โ”‚   โ”œโ”€โ”€ components
โ”‚   โ”œโ”€โ”€ firebase
โ”‚   โ”œโ”€โ”€ hoc
โ”‚   โ”œโ”€โ”€ hooks
โ”‚   โ”œโ”€โ”€ layouts
โ”‚   โ”œโ”€โ”€ pages
โ”‚   โ”œโ”€โ”€ stripe
โ”‚   โ”œโ”€โ”€ utils
โ”‚   โ””โ”€โ”€ zustand
โ”œโ”€โ”€ App.js
โ”œโ”€โ”€ default.scss
โ”œโ”€โ”€ index.js
โ”œโ”€โ”€ .firebaserc
โ”œโ”€โ”€ .gitignore
โ”œโ”€โ”€ firebase.json
โ”œโ”€โ”€ README.md
โ”œโ”€โ”€ package.json
โ””โ”€โ”€ package-lock.json

๐Ÿ“ฆ ์„ค์น˜ ๋ฐ ์‹คํ–‰

  1. ์ด ๋ฆฌํฌ์ง€ํ† ๋ฆฌ ํด๋ก 

    git clone https://github.com/smosco/ecommerce.git
  2. ์˜์กด์„ฑ ์„ค์น˜

    npm install
  3. ํ”„๋กœ์ ํŠธ ์‹คํ–‰

    npm start

About

๐Ÿ›๏ธ Firebase์™€ Stripe๋ฅผ ํ™œ์šฉํ•œ ํŒจ์…˜ ์ด์ปค๋จธ์Šค ์›น ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published