Check other documentations here:
- React: To component-based web application
- React Router: To manage multiple pages/routes of the application
- Redux: To managing global state in store
- Redux Devtools extension: To inspect all Redux behavior
- Redux Thunk: To asynchronous operations in reducer
- Ant Design: To style the components without CSS file
- Axios: To request/fetch data to/from the backend API server
REACT_APP_API_URL=thumbpoll_api_key_from_heroku
yarn start
Then open http://localhost:3000
.
yarn build
npm install -g serve
serve -s build
In deployment server such as Netlify, this build process should run automatically and the port is assigned by them (not 5000
).
You can use Netlify to deploy. After which, you have to configure the environment variables as well.
mkdir projectname-frontend
cd projectname-frontend
npm install -g create-react-app
create-react-app .
- MIT License
- Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License