Skip to content

mattmilleralbertsons/person-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Install Directions

All Platforms

  • Install JDK-17 or higher

Windows

java -version 
//Verify you are on JDK17

cd c:\path\to\person-api
mvnw.cmd clean install
java -jar c:\path\to\person-api\target\person-api-0.0.1-SNAPSHOT.jar

Unix/Mac

java -version 
//Verify you are on JDK17

cd /path/to/person-api
./mvnw clean install
java -jar ./target/person-api-0.0.1-SNAPSHOT.jar

Curl to create a new person

curl --location 'localhost:8080/people' \
--header 'Content-Type: application/json' \
--data '{
    "firstName": "Monika",
    "lastName": "Smith"
}'

Curl to get person

curl --location 'localhost:8080/people/xxxxxx-xxxx-xxxxxx-xxxxxx'

IDE

Get the code running your favorite IDE so we can do some live coding.

  • This code uses Project Lombok...
  • For IDEA: Make sure annotation processing is enabled and the Lombok plugin is installed
  • Make sure you are using a recent version of your IDE

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages