Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

AltStyle によって変換されたページ (->オリジナル) /