GithubHelp home page GithubHelp logo

joe1220 / next-redux-scss-bp Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 2.04 MB

Frontend boilerplate with Next, Typescript, Redux, Redux-Saga, Scss, Styleguidst

TypeScript 62.65% JavaScript 8.23% CSS 27.92% HTML 1.20%

next-redux-scss-bp's Introduction

NEXT REDUX SCSS BOILERPLATE

next기반의 frontend boilerplate 입니다.

install

yarn

start

yarn start # project start
yarn test  # project test
yarn style # start styleguidist for project

** Skill Stack**

- Language

Typescript, Javascript, React

- State Management

Redux, Redux-Saga

- API Library

Axios, Socket.io

- CSS

Sass

- Design System

styleguidist

- Style Guid

Styleguidist

- Testing

setting both enzyme, react-testing-library. you should select one(or both)

jest, react-testing-library, enzyme, axios-mock-adapter


Structure

참조: atomic design

.
├── src
│   ├── setupTests.ts      # for react-testing-library
│   ├── @types             # d.ts file list
│   ├── components
│   │     ├──  atoms       # atom component list.
│   │     ├──  molecules   # molecule component list.
│   │     ├──  organisms   # organisms component list.
│   │     ├──  templates   # template component list.
│   │     │       ├──  types.ts
│   │     │       ├──  sagas.ts
│   │     │       ├──  actions.ts
│   │     │       ├──  index.tsx
│   ├── interfaces         # 공유할 수 있는 type(todo move)
│   ├── store              # redux store
│   │     ├──  sagas.ts    # root reducer.
│   │     ├──  reducer.ts  # rootReducer
│   │     ├──  index.tsx   # create store root reducer and root saga
├─── pages                 # next의 page 목록
├──  next.config.js        # config next webpack
├──  tsconfig.json         # config typescript compiler
├──  tsconfig.paths.json   # config typescript import paths
├──  jest.config.js        # config jest options
├──  jest.config.js        # typescript compiler for jest.config.js file
├──  enzyme.js             # for enzyme library
├──  styleguide.config.js  # for styleguidist library
├── docs
│   ├── webpack.config.js  # styleguidist설정을 위한 webpack

next-redux-scss-bp's People

Contributors

dependabot[bot] avatar joe1220 avatar jsh901220 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.