Skip to content
This repository has been archived by the owner on Dec 24, 2019. It is now read-only.

hjacobs/friboo-hello-world

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Friboo Hello World

This project is a very simple example of using the friboo Clojure library to build microservices.

$ lein do uberjar, scm-source
$ docker build -t friboo-hello-world .
$ docker run -it -p 8080:8080 friboo-hello-world

Trying it out the Swagger defined API and validation:

$ curl http://localhost:8080/hello/stranger     # will return HTTP code 200
$ curl http://localhost:8080/hello/invalid.name # will return bad request with error message

The REST API schema is defined in the resources/api.yaml file.

About

"Hello World" example REST service using the Clojure friboo library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published