ff-picking-capacity-frontend v0.2.1
Getting Started with Create React
This project was bootstrapped with Create React.
Environment setup
Please enable the pre-commit hook from git to enforce eslint with every commit. To do this open a terminal in the project directory and enter the following command
git config core.hooksPath .githooks
Available Scripts
In the project directory, you can run:
npm start
This will run the firebase auth emulator and start the react application afterwards. The emulator is needed to authenticate during local development. The firebase auth ui is available to check the current available users. By default the application creates the following user for local testing:
email - john.doe@ingka.com password- super-secret
The react app will open in development mode.\ Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.\ You will also see any lint errors in the console.
npm test
Launches the test runner in the interactive watch mode on a local machine.\ See the section about running tests for more information.
npm run build
Builds the app for production to the build
folder.\
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.\ Your app is ready to be deployed!
See the section about deployment for more information.
npm run test:ci
Starts the emulator and performs a single run of all test files. Can be used locally if the emulator is not running or in a CI environment.
Learn More
You can learn more in the Create React documentation.
To learn React, check out the React documentation.
Code Splitting
This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting
Analyzing the Bundle Size
This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size
Making a Progressive Web Login
This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app
Advanced Configuration
This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration
Deployment
This section has moved here: https://facebook.github.io/create-react-app/docs/deployment
npm run build
fails to minify
This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify