Skip to content

Latest commit

 

History

History
42 lines (26 loc) · 577 Bytes

README.md

File metadata and controls

42 lines (26 loc) · 577 Bytes

Giter8 template for ZIO + HTTP4S + TAPIR + MONGO

Project structure

- root
  - server

Run

$ sbt
> project server
> run
curl localhost:9000/ping
curl localhost:9000/v1/greet -H'Content-type: application/json' -d '"John Doe"'

Swagger

Swagger UI can be accessed locally.

http://localhost:9000/docs

Testing

Uses Embedded MongoDBfor testing.

Contributing

Testing the template locally

g8 file:///local/path/to/zio-http4s-mongo.g8 --name=project-name