Skip to content

Set up Cursor Cloud development environment - #1

Draft
JClemente-web wants to merge 1 commit into
mainfrom
cursor/setup-dev-environment-c07e
Draft

Set up Cursor Cloud development environment#1
JClemente-web wants to merge 1 commit into
mainfrom
cursor/setup-dev-environment-c07e

Conversation

@JClemente-web

Copy link
Copy Markdown
Owner

Summary

Sets up the development environment for the "Sistema de Eventos Acessíveis" Spring Boot 4 + PostgreSQL REST API and verifies it end to end. Adds AGENTS.md documenting durable, non-obvious startup guidance for future cloud agents (PostgreSQL is required and does not auto-start).

No application code was modified.

Environment

  • JDK 21, Maven 3.8.7, PostgreSQL 16 provisioned in the VM.
  • Created database eventos_db and set the postgres password to match application.properties.
  • Update script (dependency refresh only): mvn -B -q dependency:go-offline.

Verification

  • Build: mvn -DskipTests clean compile — success.
  • Tests: mvn test — 1/1 passing (@SpringBootTest context load, Hibernate schema created).
  • Run: mvn spring-boot:run — app started on port 8081.
  • Hello-world: created a participante via POST /participantes (HTTP 201) and listed via GET /participantes (HTTP 200), both through Swagger UI and curl.

Walkthrough

swagger_ui_create_participante_demo.mp4
Creating and listing a participante through the Swagger UI.

POST /participantes returns HTTP 201
GET /participantes returns HTTP 200 with list

To show artifacts inline, enable in settings.

Open in Web Open in Cursor 

Co-authored-by: JClemente-web <JClemente-web@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