This is the solution for the mini-course on YouTube. This runs for Flutter Mobile and Web.
- Set up a Project and Cluster on MongoDb Cloud
- Amend server/lib/server.dart line 7 with the correct URI string.
- Launch server by running the commands below:
$ cd server
$ dart bin/main.dart
- CD into the client folder
- Enter
flutter run
in the Terminal to launch the project in your emulator. Make sure you have one connected.
- CD into client directory
- Run
flutter build web
- Install the
serve
package to launch the built artifact
$ pub global activate serve
$ cd build/web
$ serve
Enjoy💙😊