Skip to content

Set up Cursor Cloud dev environment for SweepAlert backend - #3

Draft
anamhira47 wants to merge 1 commit into
mainfrom
cursor/setup-dev-environment-6b81
Draft

Set up Cursor Cloud dev environment for SweepAlert backend#3
anamhira47 wants to merge 1 commit into
mainfrom
cursor/setup-dev-environment-6b81

Conversation

@anamhira47

Copy link
Copy Markdown

Summary

Sets up and verifies the development environment for this repo on a Linux Cursor Cloud VM (no macOS/Xcode). The Convex backend is now fully runnable and verifiable locally without any external accounts.

Changes:

  • Add @types/node to devDependencies so the documented backend typecheck (npx tsc -p convex/tsconfig.json --noEmit) passes — the Convex functions reference process.env, which previously failed out of the box with Cannot find name 'process'.
  • Document Cursor Cloud setup, run, and testability notes in AGENTS.md under ## Cursor Cloud specific instructions (local anonymous Convex deployment, required deployment env vars, auth-gated functions, and that the iOS app needs Revyl/Apple credentials and cannot build on this VM).

No product/runtime code was changed.

Verification

Ran against a live local Convex backend (npx convex dev, anonymous local deployment at http://127.0.0.1:3210):

  • npm install — installs convex, typescript, @types/node.
  • npx tsc -p convex/tsconfig.json --noEmit — passes.
  • HTTP router: GET /.well-known/apple-app-site-association → 200, GET /invite/:token → 200 with correct ai.revyl.sweepalert.swift://invite/... deep link.
  • Core domain flow (via temporary, non-committed scaffolding): created crew → car → parking session and scheduled a street-cleaning reminder; confirmed the job is queued in _scheduled_functions (notifications.js:sendParkingReminder, state pending).

Parking session (Fulton St) and scheduled reminder in the local dashboard:

parkingSessions table — Fulton St record
alertJobs table — scheduled street-cleaning reminder

convex_backend_verification.log

The iOS app build/validation (Revyl) was out of scope on this VM due to missing macOS/Xcode and credentials.

To show artifacts inline, enable in settings.

Open in Web Open in Cursor 

…nt Cursor Cloud setup

Co-authored-by: Anam Hira <anam@revyl.ai>
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