Skip to content

reta/eclipse-microprofile-hammock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Eclipse Microprofile with Hammock

  • Build and run:

     mvn clean package
    

    java -jar target/eclipse-microprofile-hammock-0.0.1-SNAPSHOT-capsule.jar

  • OpenAPI v3.0 documentation:

    http://localhost:10900/api/openapi.json
    
  • Add new person:

    curl -X POST http://localhost:10900/api/people -H "Content-Type: application\json" \
      -d '{"email": "[email protected]", "firstName": "John", "lastName": "Smith"}'
    
  • Find person by email:

    curl http://localhost:10900/api/people/[email protected]
    
  • Get all people:

    curl http://localhost:10900/api/people
    
  • Remove person:

    curl -X DELETE http://localhost:10900/api/people/[email protected]
    

About

Eclipse Microprofile with Project Hammock

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors