Skip to content

j4v1ng/offersvavr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is the same app as the other one in my repositories, called offers but this one uses the VAVR framework(formerly javaslang)

To boot the app:

./gradlew bootRun

Sample Requests:

curl --location --request POST 'http://localhost:8080/offers/create' \
--header 'Content-Type: application/json' \
--data-raw '{
	"description": "Offer Details",
	"price": "2.50",
	"currency": "GBP",
	"expiration": "2020-02-15"
}'


curl --location --request GET 'http://localhost:8080/offers/d8a73bfc-7aaa-4097-896c-ecb0ee25c441'



curl --location --request GET 'http://localhost:8080/offers/d8a73bfc-7aaa-4097-896c-ecb0ee25c441/cancel'

About

Same as offers repo but uses vavr

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages