/finatra.app

A Finatra Web Application that implements Swagger, JWT, Async HTTP Client and TypeSafe configuration.

Primary LanguageScala

finatra.app

A Finatra Web Application that implements Swagger, JWT, Async HTTP Client and TypeSafe configuration.

Resources

This Finatra Web App uses a number of open source projects to work properly:

VM Options
-Dconfig.file=src/main/resources/finatra.app.conf
Program Arguments
 -local.doc.root=src/main/resources/
Configurations
SERVER.NAME = "Finatra App"
SERVER.PORT = 40001
STREAM.REQUEST = false
DISABLE.ADMIN.HTTP.SERVER = true
DEFAULT.TRACING.ENABLED = false
JWT.SECRET = "a unique set of custom, high quality, cryptographic-strength password strings (64 random hexadecimal characters, 63 random printable ASCII characters, 
63 random alpha-numeric characters, etc)"
JWT.EXPIRES.DAYS = 1
Examples
* Async HTTP Client example -> finatra.app.controllers.AsyncHTTPClientController
* JWT example-> {finatra.app.controllers.JWTController, finatra.app.filters.JWTFilter}
* Mustache example -> finatra.app.controllers.MustacheController
* Serve HTML file example -> finatra.app.controllers.HTMLController
* Swagger Integration  example -> finatra.app.controllers.SwaggerSampleController
License

This code is distributed using the Apache license, Version 2.0.