IOT - Esp32 Micropython using a SPA - React This project use create-react-app - CRA
- Nodes v10
- Yarn
- Python3
- Micropyton
- Micropy cli
- Vscode Extension
Folders:
- backend -> here are boot.py and main.py. This is the sync_folder to esp32.
- build -> production version, copied to backend folder when react build
- src -> Frontend React Application
- yarn install - Install npm dependencies
- yarn start - Start devlopment web server REACT
- yarn build - Build production version
Should use the Vscode Extension. Before each upload you need build frontend.
- Change to true CORS_ENABLED in main.py
- Frontend Project
- API Endpoints
- Store config on board
- Build and Upload Application