Skip to content

fix: include python-multipart in backend setup#2

Draft
Portella25 wants to merge 2 commits into
mainfrom
cursor/setup-dev-env-6dbe
Draft

fix: include python-multipart in backend setup#2
Portella25 wants to merge 2 commits into
mainfrom
cursor/setup-dev-env-6dbe

Conversation

@Portella25
Copy link
Copy Markdown
Owner

@Portella25 Portella25 commented Apr 18, 2026

Summary

  • add python-multipart to backend requirements so FastAPI starts cleanly with upload routes enabled
  • update frontend Vite proxy default target from 127.0.0.1:8001 to 127.0.0.1:8000 to match documented backend port and avoid dashboard fetch errors in local dev
  • validate full dev environment by installing dependencies and running backend + frontend + watcher

Walkthrough Artifacts

fc_companion_env_working_demo.mp4

Frontend dashboard loaded
Backend Swagger docs

Validation

  • backend deps install: python3 -m pip install -r requirements.txt
  • frontend deps install: npm install
  • save parser deps install: npm install (in backend/save_reader/node_fbparser)
  • backend run: python3 -m uvicorn main:app --host 127.0.0.1 --port 8000
  • frontend run: npm run dev -- --host 127.0.0.1 --port 5173
  • watcher run: python3 watcher.py
  • API health: curl http://127.0.0.1:8000/health
  • API events: curl http://127.0.0.1:8000/events/recent
  • frontend proxy path check: curl "http://127.0.0.1:5173/dashboard/home?save_uid=default_save&news_limit=5&timeline_limit=6&alerts_limit=6"

Notes

  • watcher.py is running and waiting for state_lua.json / save_data.json, which is expected in this cloud Linux environment without the game/live editor feed.
  • existing npm audit warnings are from third-party dependency tree and were not altered in this setup task.

To show artifacts inline, enable in settings.

Open in Web Open in Cursor 

cursoragent and others added 2 commits April 18, 2026 15:16
Co-authored-by: Adriano Portella <Portella25@users.noreply.github.com>
Co-authored-by: Adriano Portella <Portella25@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants