Code Monkey home page Code Monkey logo

nextjs-typescript-redux-saga-i18next's Introduction

Next.js + typescript + next-redux-wrapper + redux-saga + i18next + reactstrap

Next.js를 처음 접하면서 수많은 시행착오를 겪는 중에 초기 세팅을 하고 기록하기 위해 작성합니다.

기존의 react에서 잘 사용해왔던 라이브러리들이 제대로 적용 되지 않았던 문제들을 하나씩 해결하며 세팅을 해보았습니다.

참고

Next.js

  • Next.js는 서버 측 렌더링 및 React 기반 웹 애플리케이션을위한 정적 웹 사이트 생성과 같은 기능을 지원하는 오픈 소스 React 프런트 엔드 개발 웹 프레임 워크

Typescript

  • 타입스크립트는 자바스크립트에 타입을 부여한 언어

Redux-saga

  • 데이터 fetching이나 브라우저 캐시에 접근하는 순수하지 않은 비동기 동작들을, 더 쉽고 좋게 만드는 것을 목적으로하는 라이브러리

I18next

  • I18next는 Javascript로 작성된 국제화 프레임 워크(번역)

reactstrap

  • 부트스트랩의 리액트 버전

Quick start

패키지 설치

npm install
// or
yarn install

개발 모드 실행

npm run dev
// or
yarn dev

빌드 후 실행

  npm run build
  npm run start
  // or
  yarn build
  yarn start

Example

  1. reactstrap 적용 (lib설치 만으로는 bootstrap을 읽어오지 않아 cdn 적용)
  2. next-redux-wrapper를 적용한 기본적인 Counter
  3. Redux-saga를 적용해 User data fetching
  4. 라우팅을 예시를 위한 로그인 페이지
  5. I18next 를 적용해 사이트 번역기능 적용

Contact

하태현 ([email protected])

nextjs-typescript-redux-saga-i18next's People

Contributors

hthstudy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.