Overview
Bilyeli is a minimal boilerplate for modern React app builds. It includes a range of features and tools such as React, React Router, Redux Thunk, Webpack 4, Babel, CSS modules with SCSS, file loader, Airbnb eslint, Prettier, Storybook, Jest with Enzyme, and more. Bilyeli aims to provide an always up-to-date and simple solution for building React applications.
Features
- React: The framework for building user interfaces.
- React Router: A library for handling routing in React applications.
- Redux Thunk: A middleware for handling asynchronous actions in Redux.
- Webpack 4: A module bundler for JavaScript applications with development and production configurations.
- Webpack Dashboard: A dashboard for visualizing the development build process.
- Hot Module Replacement: Enables live reloading of modules during development.
- Babel: A JavaScript compiler that transforms modern JavaScript code to older versions for compatibility.
- CSS Modules with SCSS: Allows modular and scoped CSS styles using Sass syntax.
- File Loader: Loads and handles various file types such as PNG, GIF, JPG, and SVG.
- Airbnb Eslint: Code linting tool based on the Airbnb JavaScript style guide.
- Prettier: Code formatter that ensures consistent code style.
- Storybook: A UI development environment for building, testing, and showcasing React components.
- Jest with Enzyme: Testing framework and libraries for creating unit tests with React components.
Installation
To install Bilyeli, follow the steps below:
- Clone the Bilyeli repository to your local machine:
git clone [repository-url]
- Install the dependencies using npm or yarn:
npm install
or
yarn install
- Start the application in development mode:
npm run dev
or
yarn dev
- Optionally, you can also build the production version of the application:
npm run build
or
yarn build
- To run tests, use the following command:
npm run test
or
yarn test
Summary
Bilyeli is a minimal boilerplate for building modern React applications. It provides a range of essential features and tools such as React, React Router, Redux Thunk, Webpack 4, and more. With Bilyeli, developers can easily set up and develop React projects with the latest technologies and best practices.