66

GitHub - tokopedia/treats: Tokopedia React Development Kits - Yet another React...

 5 years ago
source link: https://github.com/tokopedia/treats
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

Tokopedia React Development Kits (Treats)

lerna tested with jest CircleCI

Treats

Learn more on our documentation.

Getting Started

To get started with Treats, you can simply do the following:

> npm install -g create-treats-app
> create-treats-app
> cd /YOUR/APP/DIRECTORY
> yarn start

You don't need to configure webpack, babel, or any other build tools by yourself

What's in the box?

  1. React, JSX, ES6, and Flow syntax support (TypeScript support is coming!).
  2. Preconfigured Redux, GraphQL client and i18n out-of-the-box. (You can disable Redux/GraphQL client if you're not using it, it'll only leave minimum trace in your build)
  3. Server-side rendering, code-splitting and hot-module replacement configured out-of-the-box.
  4. CSS Modules support with CSS, LESS, or SASS syntax with autoprefixer, or use any CSS-in-JS library that you like!
  5. A build script to bundle JS, CSS, images and other medias for production.
  6. Built-in code generator so you wouldn't need to wrote another boilerplate codes.
  7. Work out of the box with zero configuration for light usage, but easily customizable for power users. Treats is customizable with:
    • Custom Helpers (Server-side)
    • Custom Middlewares (Server-side)
    • Custom React App, Server App, GraphQL client & Redux Implementation, etc
    • Custom Webpack, Babel & PostCSS Config
  8. Filesystem as your API (all entry hooks file and folder are under src/_**)

Requirements

  1. Node > 8.00

Contributors

Thanks goes to these wonderful people (emoji key):

6160832
Felix Tan

? ? ? ? ? 16898682?v=3
Martino Christanto K

? ? ? 416498?v=4
Fadli Trias

? ? ? 31308706?v=3
Alchrist Leo

? ? 112008
Gian Giovani

? ? ? ? ? 11306368
Stephanus Tedy

? ? ? ? ? 24540145
Ferry Sutanto

? 1622646
Albert Widiatmoko

? 11482819
Bayu Rizky Ramadhan

? 30400435
Diagnosa Fenomena

? 625072
Essa Jiwa P

? 30681410
Afif Khaidir

? ? 2656058
Rio Bahtiar

? ? 12596467
Elbert Christoper

? ? 11177589
Ahmad Darmawan

? 30250871
Adi Primadharma

? ? 26212432
Andhika Setiadi

? ?

This project follows the all-contributors specification. Contributions of any kind are welcome!

License

Apache 2.0


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK