Set up Cursor Cloud dev environment - #783
Draft
driver727-pixel wants to merge 2 commits into
Draft
Conversation
Co-authored-by: SP Digital <driver727@gmail.com>
Co-authored-by: SP Digital <driver727@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Sets up and verifies the development environment for Punch Skater™ (Vite + React client with an Express API proxy) and documents non-obvious startup caveats for future Cloud Agents.
AGENTS.mdwith a## Cursor Cloud specific instructionssection: the two services (Vite dev client on 5173, Express proxy on 3001), secret/degraded-mode behavior, the non-secretVITE_IMAGE_API_URLgate for in-app image generation, the multi-lineFIREBASE_SERVICE_ACCOUNT_JSON/base64 caveat, and known non-blocking gotchas.npm install(dependency refresh only).Environment verification
npm installnpm run test:servernpm run buildnpm run lintrules-of-hookserrors insrc/components/LanguageProfilePanel.tsx(clean checkout)npm run dev+npm startnpx playwright install chromium+npm run test:e2eforge-objective-overlaymodal)Hello-world walkthrough (with secrets)
With the provided Firebase / Fal / Stripe secrets, the full authenticated core loop works end-to-end: Email/Password sign-in, forging a card, and real AI artwork generation (proxied through the Express server to Fal and uploaded to Firebase Storage). Saving to the Collection is gated behind a paid tier (product behavior).
Fal image generation verified at the API level (returns a Firebase Storage URL):
POST /api/generate-image→{"images":[{"url":"https://firebasestorage.googleapis.com/.../generated/...png"...}]}Authenticated: logged-in nav
Rare hit on forge
Forged card with AI-generated art
Second forged card with AI art
Notes
Screen-recording capture was unavailable in this environment (save aborted), so evidence is provided via screenshots and API output. Secrets are read directly from
process.env(server) andimport.meta.env(Vite), so injected secrets work without a committed.env.To show artifacts inline, enable in settings.