Random search items
Closed this issue · 6 comments
Just like in ExpressJS, I want this to work exactly that same way. See here: https://expressjs.com/en/guide/using-template-engines.html
Use this as a guide to implement https://github.com/dart-lang/shelf
- Mustashe - https://pub.dev/packages/mustache_template
You can also use this to implement the CORS.
https://github.com/lenniezelk/shelf-cors-headers/blob/main/lib/src/shelf_cors_headers_base.dart
You can use this to implement swagger for the server.
https://github.com/Flutterando/shelf_swagger_ui/blob/main/lib/shelf_swagger_ui.dart
You can use this to implement cookie parser middleware
https://github.com/denisbakhtin/shelf-secure-cookie/blob/master/lib/src/cookie_parser.dart
You can use this to implement hot reloading for the server
https://github.com/felixblaschke/shelf_hotreload/blob/main/lib/src/with_hotreload.dart
You can use this to implement rate-limiter
https://github.com/ramyak-mehra/shelf_rate_limiter/blob/master/lib/src/shelf_rate_limiter_base.dart