Git Product home page Git Product logo

next14-graphql's Introduction

MovieApp

MovieApp은 μ˜ν™” 정보λ₯Ό νƒμƒ‰ν•˜κ³  관리할 수 μžˆλŠ” μ›Ή μ• ν”Œλ¦¬μΌ€μ΄μ…˜μž…λ‹ˆλ‹€. μ‚¬μš©μžλŠ” λ‹€μ–‘ν•œ μ˜ν™”μ˜ 상세 정보λ₯Ό ν™•μΈν•˜κ³ , μ’‹μ•„ν•˜λŠ” μ˜ν™”λ₯Ό μ €μž₯ν•  수 μžˆμŠ΅λ‹ˆλ‹€.

μ£Όμš” κΈ°λŠ₯

  • μ˜ν™” λͺ©λ‘ 쑰회
  • μ˜ν™” 상세 정보 확인
  • μ’‹μ•„μš” κΈ°λŠ₯
  • 닀크 λͺ¨λ“œ 지원
  • λ°˜μ‘ν˜• λ””μžμΈ

기술 μŠ€νƒ

  • Next.js
  • React
  • TypeScript
  • Apollo Client
  • GraphQL
  • Tailwind CSS

μ„€μΉ˜ 방법

  1. μ €μž₯μ†Œλ₯Ό ν΄λ‘ ν•©λ‹ˆλ‹€:

    git clone https://github.com/newri0807/next14-graphql.git
    
  2. ν”„λ‘œμ νŠΈ λ””λ ‰ν† λ¦¬λ‘œ μ΄λ™ν•©λ‹ˆλ‹€:

    cd movie-app
    
  3. μ˜μ‘΄μ„±μ„ μ„€μΉ˜ν•©λ‹ˆλ‹€:

    npm install
    
  4. ν™˜κ²½ λ³€μˆ˜λ₯Ό μ„€μ •ν•©λ‹ˆλ‹€: .env.local νŒŒμΌμ„ μƒμ„±ν•˜κ³  ν•„μš”ν•œ ν™˜κ²½ λ³€μˆ˜λ₯Ό μ„€μ •ν•©λ‹ˆλ‹€:

    NEXT_PUBLIC_GRAPHQL_URL=your_graphql_endpoint
    

μ‹€ν–‰ 방법

개발 λͺ¨λ“œλ‘œ μ‹€ν–‰:

npm run dev

λΈŒλΌμš°μ €μ—μ„œ http://localhost:3000으둜 μ ‘μ†ν•˜μ—¬ μ• ν”Œλ¦¬μΌ€μ΄μ…˜μ„ 확인할 수 μžˆμŠ΅λ‹ˆλ‹€.

μ‚¬μš©λ²•

  1. ν™ˆνŽ˜μ΄μ§€μ—μ„œ μ˜ν™” λͺ©λ‘μ„ ν™•μΈν•©λ‹ˆλ‹€.
  2. μ˜ν™” μΉ΄λ“œλ₯Ό ν΄λ¦­ν•˜μ—¬ 상세 정보λ₯Ό ν™•μΈν•©λ‹ˆλ‹€.
  3. μ˜ν™” 상세 νŽ˜μ΄μ§€μ—μ„œ μ’‹μ•„μš” λ²„νŠΌμ„ ν΄λ¦­ν•˜μ—¬ μ˜ν™”λ₯Ό μ €μž₯ν•©λ‹ˆλ‹€.
  4. μƒλ‹¨μ˜ ν† κΈ€ λ²„νŠΌμ„ μ‚¬μš©ν•˜μ—¬ 닀크 λͺ¨λ“œλ₯Ό 켜고 끌 수 μžˆμŠ΅λ‹ˆλ‹€.

ꡬ쑰

next14-graphql
β”œβ”€ app
β”‚  β”œβ”€ api
β”‚  β”‚  └─ graphql
β”‚  β”‚     └─ route.ts
β”‚  β”œβ”€ favicon.ico
β”‚  β”œβ”€ globals.css
β”‚  β”œβ”€ layout.tsx
β”‚  β”œβ”€ movie
β”‚  β”‚  └─ [id]
β”‚  β”‚     └─ page.tsx
β”‚  └─ page.tsx
β”œβ”€ components
β”‚  β”œβ”€ BackButton.tsx
β”‚  β”œβ”€ DarkModeToggle.tsx
β”‚  └─ MovieList.tsx
β”œβ”€ context
β”‚  β”œβ”€ ApolloProviderWrapper.tsx
β”‚  └─ ThemeContext.tsx
β”œβ”€ lib
β”‚  β”œβ”€ apolloClient.ts
β”‚  └─ type.ts
β”œβ”€ next.config.mjs
β”œβ”€ package-lock.json
β”œβ”€ package.json
β”œβ”€ postcss.config.mjs
β”œβ”€ public
β”‚  β”œβ”€ next.svg
β”‚  └─ vercel.svg
β”œβ”€ README.md
β”œβ”€ tailwind.config.ts
└─ tsconfig.json

next14-graphql's People

Contributors

newri0807 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.