Code Monkey home page Code Monkey logo

biosboy / coconat Goto Github PK

View Code? Open in Web Editor NEW
97.0 4.0 24.0 7.04 MB

πŸ₯ StarterKit Builder for rocket-speed App creation on πŸš€ React 17 + πŸ“™ Redux 4 + 🚠 Router 5 + πŸ“ͺ Webpack 5 + 🎳 Babel 7 + πŸ“œ TypeScript 4 + πŸš” Linters 23 + πŸ”₯ HMR 3

Home Page: https://medium.com/@svyat770/lets-kill-create-react-app-452cb55f77d3

License: MIT License

JavaScript 26.78% HTML 0.51% TypeScript 72.15% SCSS 0.56%
startkit react redux webpack redux-saga typescript hooks enzyme yarn webpack4 react-router react-router-v4 starter-kit-for-front-end-developer starter-kit jest babel

coconat's Introduction

CoConat - React Apps Builder Tweet

Make custom React app development easly as never before!

Price License: MIT GitHub package version Build Status

Check CocoNat StartKit Builder Official Documentation Tutorial on Medium.

logo_image

This Webpack4 + React16 Templater is created from the point of view to solve developer day-to-day problems with app suits boilerplate creation. It has all what we need to start React app creation with rocket speed without worring about, like:

  1. Oh, I need to optimize my app!
  2. Oh, I need to create a server for app handling!
  3. Oh, I need a Redux/Redux-Saga installations for state managment in app!
  4. Oh, I need to install Webpack and spend a time to configure it!
  5. Oh, I need to optimize and minimize JS/CSS/etc. bundles!
  6. Oh, I need to install and configure testing environment!
  7. And a lot of other boring things...

So, by using this Templater you will save a lot of time and will stay focused only on your own app creation. Have fun :)

Features:

  • Fast React app creation.
  • Can be custumized as you wish.
  • BrowserSync Server is configured just out of the box!
  • All needed packages to work you can bootstap just by one command with lerna npm package: lerna bootstrap
  • Support TypeScript version 3^.

Installation

  1. Clone the repo on your Machine by:

     git clone https://github.com/BiosBoy/coconat.git
    
  2. Inside the root folder install all requeried packages of the CoConat Builder by command:

     yarn lerna bootstrap
    
  3. Start up your project via development, production or test compilation:

     yarn start:dev - development mode
     yarn start:prod - production mode
     yarn start:test - testing mode
    
  4. Test and validate yout project code with Jest & Enzyme test environment by command:

     yarn jest ./*/**.test.*
    

That's all what you need to start building your own project! Have fun and happy coding! :)

What is you have out of the box?

Webpack:

  • Fully support all Webpack 4^ possibilities.
  • Support code-splitting and bundles app creation out of the box.
  • Created 3 independent development cases: test, development, production. Each of them has own best optimized configuration.
  • Integrated Babel 7^ with supporting all ES6-ES8 features.
  • Integrated Ujlifty Webpack Plugin ^0 for optimizing JS/JSX/TS/TSX bundles for development and production.
  • Integrated Mini CSS Webpack Plugin ^0 + OptimizeCSS Assets Webpack Plugin ^5 for optimizing CSS bundles for development and production.
  • Integrated Webpack Bundle Analyzer ^3 for visual analyzing of code/bundles weight.
  • Transpile all app code into native ES5 for supporting even an oldest browsers.

React:

  • Support all new features from React 16.7@-alpha release.
  • Hooks, Suspence and Lazy load can be used out of the box.

Redux:

  • Redux^4.0.1 is fully integrated with React to start your work asap.
  • Including Redux-Saga^0.16.2 for async actions handling.

Routing:

  • React-Router^4.3.1 - React app from the start can be multy-page oriented.
  • Connected-React-Router^5.0.1 holdes synhromious app Redux and Browser Location states.

Styling:

  • Support CSS/SASS style markup.
  • Integrated CSSModules for independent component styling.
  • Including PostCSS ^2 post-processor.

Testing:

  • Integrated Jest 23^ + Enzyme 3^ testing environment.
  • Includes pre-commits hooks for testing app before commit (if test are present in).
  • Support JS/JSX/TS/TSX file extensions.

Linting:

  • Integrated prettier package for beatify pre-commited code.
  • Integrated eslint 5^ + tslint 5^ + stylelint 9^ linters based on the most popular schemas in the world (facebook, microsoft, airbnb, etc.) with React life-cycle ecosystem supporting.

Git:

  • Includes pre-commits hooks with husky ^1
  • Includes lint-stages ^1 for styling and testing whole app code (js/jsx/ts/tsx/css/scss/json) before commiting.
  • Checks code on lint rule errors before accept user commit.
  • Run test suits before accept user commit.

Technical information:

App technical environment that are 100% support with:

  • Node 10.5
  • Yarn 1.9.4
  • Webpack 4.29.1
  • React 16.8

App global package installing requirements:

  • node
  • yarn/npm
  • eslint/tsline/stylelint
  • lerna
  • typescript

FAQ:

1. "Command lerna bootstrap is does not works."

  • To bring it work you need install it globally first by command yarn add lerna -g. After that navigate to your working folder and repeat command lerna bootstrap one more time.

coconat's People

Contributors

biosboy avatar dependabot[bot] avatar unkndono avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

coconat's Issues

Keep the branch without TypeScript

I see your article here, which is great, and thank you for that.

But now, I see you switching to TypeScript.
Is it possible for you to create and maintain separate branch without TypeScript migration?

why don't use webpack dev server

I see you about weboack.config, this options entry include webpack-hot-middleware, this is old config, and create-react-app also use this, i don't understand this, why not use about webpack dev server that also suppurt node cli, canyou help me

does this boilerplate support Internet explorer 11?

Describe this issue template's purpose here.
I tried to run it on IE 11 and it doesn't work.
here are my conlose log:
SCRIPT5022: You must pass a component to the function returned by connect. Instead received {"$$typeof":60115,"compare":null,"displayName":"Body"}
app.028c58734476f757ea85.js (15651,5)

Can you please update it?! Thanks !

Praise!

is awesome to react and typescript template!

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.