A Finatra Web Application that implements Swagger, JWT, Async HTTP Client and TypeSafe configuration.
This Finatra Web App uses a number of open source projects to work properly:
- Finatra - Fast, testable, Scala services built on TwitterServer and Finagle.
- Swagger-Finatra - Finatra Swagger Support
- Typesafe Config - Configuration library for JVM languages
- Async HTTP Client - Asynchronous Http and WebSocket Client library for Java
- JWT - Java implementation of JSON Web Token (JWT)
-Dconfig.file=src/main/resources/finatra.app.conf
-local.doc.root=src/main/resources/
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
* 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
This code is distributed using the Apache license, Version 2.0.