Shipment Service UI
Installation
This project was bootstrapped with Create React App.
yarn install
Note
Project dependencies are maintained via yarn
so use it to install/add new npm packages.
Running
yarn run start
Runs the app in the development mode.
LOCAL environment settings will be used.
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.
App settings are divided in these environments:
yarn run build-dev
DEV: yarn run build-test
TEST: yarn run build
PROD: These commands build 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!
To learn more info on how to use env variables check out this doc page
Translation
Translation is based of react-i18next
Localisation files are located in src/assets/translations
You can use BabelEdit to maintain translation files
Create React App Info
You can learn more in the Create React App 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
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