Skip to content

๐Ÿฆธโ€โ™‚๏ธ Comics API๋ฅผ ํ™œ์šฉํ•œ ๋งˆ๋ธ” ์ฝ”๋ฏน์Šค ์บ๋ฆญํ„ฐ ์ •๋ณด ์›น ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜

License

Notifications You must be signed in to change notification settings

tomdevkr93/marvel-explorer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

22 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๋งˆ๋ธ” ๋กœ๊ณ 

๐Ÿฆธโ€โ™‚๏ธ Marvel Explorer

Next.js TypeScript TanStack Query NextAuth.js Marvel API ๋ผ์ด์„ ์Šค: MIT GitHub ์Šคํƒ€
๋งˆ๋ธ” ์ต์Šคํ”Œ๋กœ๋Ÿฌ๋Š” ๋งˆ๋ธ” ์ฝ”๋ฏน์Šค API๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ๋งˆ๋ธ” ์บ๋ฆญํ„ฐ ๋ชฉ๋ก๊ณผ ์ƒ์„ธ ์ •๋ณด๋ฅผ ํ‘œ์‹œํ•˜๋Š” Next.js ์›น ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์ž…๋‹ˆ๋‹ค.
๋งˆ๋ธ” ์œ ๋‹ˆ๋ฒ„์Šค์˜ ์ˆ˜๋ฐฑ ๋ช…์˜ ์˜์›…๊ณผ ๋นŒ๋Ÿฐ๋“ค์„ ๋‘˜๋Ÿฌ๋ณด๊ณ  ๊ทธ๋“ค์˜ ๋Šฅ๋ ฅ๊ณผ ํŠน์ง•์„ ํ™•์ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

์ด ํ”„๋กœ์ ํŠธ๋Š” Next.js 14, TypeScript, TanStack Query๋ฅผ ์‚ฌ์šฉํ•œ ํšจ์œจ์ ์ธ ๋ฐ์ดํ„ฐ ํŽ˜์นญ, NextAuth.js๋ฅผ ์ด์šฉํ•œ ์ธ์ฆ ๋“ฑ ์ตœ์‹  ์›น ๊ฐœ๋ฐœ ๊ธฐ์ˆ ์„ ์ ์šฉํ•˜๊ณ  ํ•™์Šตํ•˜๊ธฐ ์œ„ํ•œ ํ”„๋กœ์ ํŠธ์ž…๋‹ˆ๋‹ค.
๋ฒ„๊ทธ ์‹ ๊ณ  ยท ๊ธฐ๋Šฅ ์š”์ฒญ

๋ชฉ์ฐจ

์Šคํฌ๋ฆฐ์ƒท

[์Šคํฌ๋ฆฐ์ƒท ์ถ”๊ฐ€ ์˜ˆ์ •]

๋น ๋ฅธ ์‹œ์ž‘

Marvel Explorer๋ฅผ ์‹œ์ž‘ํ•˜๋ ค๋ฉด ๋‹ค์Œ ๋‹จ๊ณ„๋ฅผ ๋”ฐ๋ฅด์„ธ์š”

  1. ์ €์žฅ์†Œ ํด๋ก 

    git clone https://github.com/tomdevkr93/marvel-explorer.git
    
  2. ์˜์กด์„ฑ ์„ค์น˜

    cd marvel-explorer
    yarn set version berry
    yarn install
    
  3. ํ™˜๊ฒฝ ๋ณ€์ˆ˜ ์„ค์ • ๋ฃจํŠธ ๋””๋ ‰ํ† ๋ฆฌ์— .env.local ํŒŒ์ผ์„ ์ƒ์„ฑํ•˜๊ณ  ๋‹ค์Œ ๋‚ด์šฉ์„ ์ถ”๊ฐ€ํ•˜์„ธ์š”

    [์ˆ˜์ • ์˜ˆ์ •]
    MARVEL_PUBLIC_KEY=your_marvel_public_key
    MARVEL_PRIVATE_KEY=your_marvel_private_key
    NEXTAUTH_SECRET=your_nextauth_secret
    
  4. ๊ฐœ๋ฐœ ์„œ๋ฒ„ ์‹คํ–‰:

    yarn dev
    
  5. ๋ธŒ๋ผ์šฐ์ €์—์„œ http://localhost:3000์„ ์—ด์–ด ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์„ ํ™•์ธํ•˜์„ธ์š”.

ํ”„๋กœ์ ํŠธ ๊ตฌ์กฐ

[์ถ”๊ฐ€ ์˜ˆ์ •]

์‚ฌ์šฉ๋œ ๊ธฐ์ˆ 

๊ธฐ์ˆ  ์‚ฌ์šฉ ๋ชฉ์ 
Next.js 14 ์›น ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜ ๊ตฌ์ถ•์„ ์œ„ํ•œ React ํ”„๋ ˆ์ž„์›Œํฌ
TypeScript ์ •์  ํƒ€์ดํ•‘ ๋ฐ ๊ฐœ์„ ๋œ ๊ฐœ๋ฐœ์ž ๊ฒฝํ—˜
TanStack Query ๋ฐ์ดํ„ฐ ํŽ˜์นญ, ์บ์‹ฑ, ์ƒํƒœ ๊ด€๋ฆฌ
NextAuth.js ์ธ์ฆ ๋ฐ ์„ธ์…˜ ๊ด€๋ฆฌ(CredentialsProvider, Google)
Marvel Comics API ๋งˆ๋ธ” ์บ๋ฆญํ„ฐ ๋ฐ ์ฝ”๋ฏน์Šค ๋ฐ์ดํ„ฐ ๊ฐ€์ ธ์˜ค๊ธฐ
ESLint ์ฝ”๋“œ ๋ฆฐํŒ… ๋ฐ ํฌ๋งทํŒ…

๊ฐœ๋ฐœ ํ™˜๊ฒฝ

  • Node.js 18.x ์ด์ƒ
  • npm 7.x ์ด์ƒ
  • ๊ถŒ์žฅ ํ™•์žฅ ํ”„๋กœ๊ทธ๋žจ์ด ์„ค์น˜๋œ VS Code (ESLint, Prettier)

CI/CD ํŒŒ์ดํ”„๋ผ์ธ

์ด ํ”„๋กœ์ ํŠธ๋Š” ์ง€์†์  ํ†ตํ•ฉ ๋ฐ ๋ฐฐํฌ๋ฅผ ์œ„ํ•ด GitHub Actions๋ฅผ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค. ํŒŒ์ดํ”„๋ผ์ธ์—๋Š” ๋‹ค์Œ์ด ํฌํ•จ๋ฉ๋‹ˆ๋‹ค:

  • ํ‘ธ์‹œ ๋ฐ ํ’€ ๋ฆฌํ€˜์ŠคํŠธ ์‹œ ์ž๋™ ๋นŒ๋“œ ๋ฐ ํ…Œ์ŠคํŠธ
  • ESLint๋ฅผ ์‚ฌ์šฉํ•œ ์ฝ”๋“œ ํ’ˆ์งˆ ๊ฒ€์‚ฌ
  • main ๋ธŒ๋žœ์น˜ ๋ณ‘ํ•ฉ ์‹œ Vercel๋กœ ์ž๋™ ๋ฐฐํฌ

๋ผ์ด์„ ์Šค

์ด ํ”„๋กœ์ ํŠธ๋Š” MIT ๋ผ์ด์„ ์Šค ํ•˜์— ์žˆ์Šต๋‹ˆ๋‹ค - ์ž์„ธํ•œ ๋‚ด์šฉ์€ LICENSE ํŒŒ์ผ์„ ์ฐธ์กฐํ•˜์„ธ์š”.

About

๐Ÿฆธโ€โ™‚๏ธ Comics API๋ฅผ ํ™œ์šฉํ•œ ๋งˆ๋ธ” ์ฝ”๋ฏน์Šค ์บ๋ฆญํ„ฐ ์ •๋ณด ์›น ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published