Skip to content

feat: add spring-notes sample app integrated with Keploy #115

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Pratham0320
Copy link

@Pratham0320 Pratham0320 commented Jun 21, 2025

This pull request adds a new Java Spring Boot sample app (spring-notes) demonstrating how to integrate Keploy for test generation. The app includes simple in-memory CRUD endpoints and includes setup instructions to run Keploy via Docker on Windows.

Fixes #115

Type of change
New feature (non-breaking change which adds functionality)
How Has This Been Tested?
Ran mvn spring-boot:run to start the server locally.
Tested APIs using curl and Postman:
POST /notes to add notes
GET /notes to retrieve all
GET /notes/{id} to fetch by ID
Keploy was run using Docker (due to OS constraints on Windows):
docker run --rm --name keploy -v ${PWD}:/app
-p 16789:16789 -e KEPLOY_MODE=record
-e KEPLOY_APP_NAME=spring-notes -e KEPLOY_COMMAND="mvn spring-boot:run"
ghcr.io/keploy/keploy

My code follows the style guidelines of this project

I have performed a self-review of my own code

I have commented my code, particularly in hard-to-understand areas

I have made corresponding changes to the documentation

My changes generate no new warnings

I have added tests that prove my fix is effective or that my feature works (via Keploy)

New and existing unit tests pass locally with my changes

Any dependent changes have been merged and published in downstream modules

I have checked my code and corrected any misspellings

I have tagged the reviewers in a comment below incase my pull request is ready for a review

I have signed the commit message to agree to Developer Certificate of Origin (DCO) (to certify that I wrote or otherwise have the right to submit your contribution to the project.) by adding "--signoff" to my git commit command.

@Pratham0320 this PR is ready for review.

@pratik-mahalle
Copy link

Hey @Pratham0320, Thank you for raising the pr. Our team will review the changes before that please make sure to sign the DCO

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