Small example Dart web service with shelf that uses Oicana for PDF templating.
- Install the dependencies:
dart pub get - Start the service:
dart run bin/server.dart - Visit http://127.0.0.1:3008/swagger/ for the Swagger documentation
The first build downloads the native Oicana library for your platform. To deploy the service, build it with dart build cli -t bin/server.dart, which puts the native library next to the executable, and run build/cli/<platform>/bundle/bin/server from the root of this repository.
The code of this example project is licensed under the MIT license.
But please be aware, that the Oicana dependency is licensed under PolyForm Noncommercial License 1.0.0 and, after 30 days, requires a commercial license for use cases that are not covered by the PolyForm license. Visit the Oicana website for pricing options.