electron-react-boilerplate /
electron-react-boilerplate
A Foundation for Scalable Cross-Platform Apps
Loading repository data…
brawlins / repository
A boilerplate React application that I use to start new projects. It uses webpack to build the JavaScript bundle file and PHP for the back-end API.
This is a boilerplate React application that I use to start new projects. It uses webpack to build the JavaScript bundle file and PHP for the back-end API. Inspired by Christian Alfoni's ultimate webpack setup.
React apps are often served using a node server like Express. However, in my case I wanted to use Apache because we use PHP to manage user authentication. I know there are packages that theoretically can make Express serve PHP, but it was easier to just use our existing Apache server.
This happens to be my specific use case at the moment, but this project could easily be adapted to use a node server instead.
I wanted a setup that would enable the following features:
The project is structured like this:
The public directory is the web root. Configure the server to serve files from there. The build directory is where the webpack output files go. This directory is ignored by git.
The "scripts" section of the package.json file contains the build scripts. When you first checkout the project you'll need to run npm install to get all the node modules used.
For development type:
npm start
The development build runs webpack in watch mode. Whenever you save changes to a file in the src folder it rebuilds the bundle.
For production type:
npm run build
The production build deletes the build folder and rebuilds the bundle using the settings in webpack-production.config.js. Code gets minified and console logs get stripped out.
Selected from shared topics, language and repository description—not editorial ratings.
electron-react-boilerplate /
A Foundation for Scalable Cross-Platform Apps
thecodingmachine /
A React Native template for building solid applications 🐙, using JavaScript 💛 or Typescript 💙 (you choose).
lxieyang /
A Chrome Extensions boilerplate using React 18 and Webpack 5.
themeselection /
An enterprise-grade Next.js admin dashboard template. Made with developer experience first: Next.js v14 (App Router), Material UI (MUI), Tailwind CSS, TypeScript, ESLint, Prettier, VSCode Configs !! 🚀
issaafalkattan /
A simple react one page landing page templates for startups/companies
crsandeep /
Boilerplate to build a full stack web application using React, Node.js, Express and Webpack.