Overview
The React + Phoenix Boilerplate is a basic setup for a React (16) + Phoenix (1.3)/Elixir (1.7) project. It utilizes webpack (4) for bundling and includes features such as user authentication and Redux state management. This boilerplate provides a starting point for building web applications with the React and Phoenix frameworks.
Features
- React (16) and Phoenix (1.3) integration
- Webpack (4) for bundling files
- User authentication system
- Redux state management
- React Router 4 for declarative routing
- ESLint for code quality analysis
- Jest and Enzyme for JavaScript testing
- Sass for CSS extension
- PostCSS for transforming CSS to JavaScript
- Credo for static code analysis in Elixir
Installation
- Make sure you have git installed on your system.
- Change the app name in the necessary files (commands provided for Unix-like systems).
- Reinitialize git in your project directory.
- Download the project dependencies.
- Start the server.
Summary
The React + Phoenix boilerplate provides a starting point for developing web applications using React and Phoenix frameworks. It includes features such as user authentication, Redux state management, and React Router for declarative routing. The boilerplate also supports code quality analysis with ESLint and provides testing utilities with Jest and Enzyme. With a basic installation process, developers can quickly get started with building their own React + Phoenix projects.