Skip to content

Sample app to use ZIO and Zlayer with a playframework application

Notifications You must be signed in to change notification settings

larousso/play-zio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZIO / ZLayer with playframework

Start the app

sbt '~run'

Use the app

curl -XPOST http://localhost:9000/users -H 'Content-Type:application/json' -d '{"name":"test"}'
curl http://localhost:9000/users
curl -XPUT http://localhost:9000/users/da8b2cd6-a88c-4a54-81b8-eeb7ce9075c5 -H 'Content-Type:application/json' -d '{"id":"da8b2cd6-a88c-4a54-81b8-eeb7ce9075c5","name":"test2"}'

About

Sample app to use ZIO and Zlayer with a playframework application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published