Skip to content

waltercassiano/micropython-spa-react

Repository files navigation

Micropython - SPA React

IOT - Esp32 Micropython using a SPA - React This project use create-react-app - CRA

Requirements

Project Structure

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

Commands

Command available on root to react:

  • yarn install - Install npm dependencies
  • yarn start - Start devlopment web server REACT
  • yarn build - Build production version

Command to Micropy

Should use the Vscode Extension. Before each upload you need build frontend.

Frontend Live Reload

  • Change to true CORS_ENABLED in main.py

TODO

  • Frontend Project
  • API Endpoints
  • Store config on board
  • Build and Upload Application

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •