In today’s package of the week we will look at the Dart Frog framework from the team at Very Good Ventures. Dart Frog is a minimalistic solution for building backend services. It is built on top of the Shelf framework and inspired by solutions like NextJS and ExpressJS. We will cover the basics and also build a noun generator app. Dart Frog is experimental at the time of this recording and not recommended for use in production.
=== Contents of this video ===
00:00 Intro
00:27 Install Dart Frog and Setup project
00:56 Run local development server and View project structure
02:25 Create /hello endpoint
03:26 Create middleware function for managing request lifecycle
05:39 Use the provide function to supply data to onRequest function
07:00 Implement noun generator service
20:25 Implement web client to communicate with noun generator endpoint
23:48 Write integration and unit tests
28:53 Outro
Please leave us your feedback in the comments, and let us know what you would like us to demonstrate next! You can reach out in the comments below or on Twitter using #Serverside #Dartlang #expressjs
Like, Subscribe and Hit the Bell 🔔 if you enjoyed this video 😍
Get the package → https://pub.dev/packages/dart_frog
Get the source code → https://github.com/graphicbeacon/frog...
Get started with Dart course → https://bit.ly/getstartedwithdart
Dart docs → https://dart.dev
Subscribe to the channel → http://bit.ly/2P2N1jC
Read More Dart Tutorials → https://creativebracket.com
Buy me a coffee → https://ko-fi.com/creativebracket
LET'S CONNECT
---
Twitter → / creativ_bracket
Support the channel → / creativebracket
Смотрите видео Write fast, minimal backend services with Dart Frog (Dart Package of the Week #12) онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Creative Bracket • Dart and Flutter Tutorials 01 Январь 1970, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 8,02 раз и оно понравилось 20 людям.