This project is a boilerplate setup for a MERN app bootstrapped with create-react-app. It is a full React FE and Express BE utilizing Express, MongoDB, JWT for authentication, and Redux for application state management.
The project uses ESLint and Prettier for consistent formatting. This includes a husky pre-commit to check and fix any code before commiting.
For UI it uses Fomantic UI (a fork from Semantic UI).
Commits follow ConventionalCommits guidelines with a pre-commit hook to check.
The intention of the project is to create a starting off point for creating Progressive Web Apps, without having to setup everything up every time. So this includes a complete login system and development tools to get going straight away.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
Runs the backend server on http://localhost:5000/.
Runs the backend server on http://localhost:5000/ using nodemon to watch for changes.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build
folder.
Runs ESLint on the ./src and ./server folders.
Runs ESLint on the ./src and ./server folders. And then attempts to fix any issues.
Runs Prettier and formats files.
This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting
This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size
This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app
This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration
This section has moved here: https://facebook.github.io/create-react-app/docs/deployment
This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify