Overview
The Modular React MobX Typescript Boilerplate is a production-ready boilerplate designed for large and complex applications built with the latest stack of React, Typescript, MobX, Webpack, Storybook, Styled Components, and Cypress. It follows industry-standard practices such as clean code and test-driven development. This boilerplate is not recommended for beginners but is an excellent starting point for experienced developers looking to build their next product.
Features
- Clean code and test-driven development
- Support for React and React Native projects
- Includes test cases environment, linting, code formatter, hooks, and internationalization
- Follows a modular folder structure for projects with multiple modules
Installation
To install the boilerplate, follow these steps:
- Make sure you have Node.js >=12.6.0 and npm >=5.6.0 or yarn >=1.17.3 installed.
- Clone this repo using
git clone https://github.com/0xc0d3r/modular-react-typescript-boilerplate.git <YOUR_PROJECT_NAME> - Move to the appropriate directory:
cd <YOUR_PROJECT_NAME> - Run
yarn setupto install dependencies and clean the git repo. - Run
yarn startto see the output athttp://localhost:3000. - Follow the provided guide to build the application in various environments.
Summary
The Modular React MobX Typescript Boilerplate is a powerful and comprehensive solution for building large and complex applications using React, Typescript, MobX, and other modern frontend tools. It provides a clean code structure, follows best practices such as test-driven development, and offers a range of features to support a productive development workflow. While not recommended for beginners, experienced developers will find this boilerplate to be a solid foundation for their next project.