Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 944 Bytes

README.md

File metadata and controls

41 lines (29 loc) · 944 Bytes

This is the frontend part of the pallet calculator web application, it is built with create-react-app. Find the backend part of it here: https://github.com/lyonsun/pallet-calculator-backend

Clone it

git clone git@github.com:lyonsun/pallet-calculator-frontend.git

Install all dependencies

yarn

Configure it to connect with the backend

touch .env.development.local
echo REACT_APP_BACKEND_URI=http://localhost:8000/api > .env.development.local

Change http://localhost:8000/api to the one you defined. This app is built to connect a backend that is built with django and djangorestframework. Check the backend part for more details.

Run it in development server

yarn cra-start

Run it in production server

yarn build
yarn start

View it

Open the browser and go to http://localhost:3000