Skip to content

serrodcal-functional-programming/bookStoreFP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Book Store

This repository contains an example of a Book Store Service developed using Functional Programming.

Building

~$ mvn package

Running

~$ java -jar target/book-card-service-0.1.0-SNAPSHOT-allinone.jar

Testing

In other console tab, send curl as given below:

~$ curl -i 'http://localhost:8080/bookCard/user@mail.com'
HTTP/1.1 200 OK
Server: akka-http/10.1.8
Date: Sun, 21 Apr 2019 22:38:59 GMT
Content-Type: text/plain; charset=UTF-8
Content-Length: 56

BookCard(User(1,user@mail.com),List(Book(1,book_1_1,1)))%   

About

Book Store service with Functional Programming

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages