Skip to content

Set up development environment + document Cursor Cloud setup#2

Draft
nanehambardzumyan wants to merge 1 commit into
mainfrom
cursor/setup-dev-environment-c478
Draft

Set up development environment + document Cursor Cloud setup#2
nanehambardzumyan wants to merge 1 commit into
mainfrom
cursor/setup-dev-environment-c478

Conversation

@nanehambardzumyan

Copy link
Copy Markdown
Contributor

Summary

Sets up and verifies the development environment for the API Client Simulator (CodeSignal Bespoke template). Adds durable, non-obvious setup/run guidance to AGENTS.md under ## Cursor Cloud specific instructions.

The update script (run automatically on VM startup) installs deps and initializes the design-system submodule:

npm install
git submodule update --init --recursive

What was verified

  • npm install — 376 packages installed.
  • git submodule update --init --recursive — initializes client/design-system (required for styled UI).
  • npm run build — Vite build succeeds (benign font-resolution warnings only).
  • npm run start:dev — Vite on :3000 + API on :3001, both healthy.
  • node scripts/smoke-test.mjs — demo CRUD endpoints pass (200/201/200/200/200).
  • Hello-world E2E in the UI: sent GET /demo-api/health (200) and POST /demo-api/users {"name":"Alice"} (201).

Walkthrough

api_simulator_hello_world.mp4

API Client Simulator loads styled and returns a live 200 for the health check.

GET 200 response
POST 201 response creating user Alice

Notes

  • No lint/test npm script and no ESLint config exist in the repo (documented in AGENTS.md so future agents don't search for one).

To show artifacts inline, enable in settings.

Open in Web Open in Cursor 

Co-authored-by: Nane Hambardzumyan <nanehambardzumyan@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