flutter_mongodb_contacts_app
flutter_mongodb_contacts_app copied to clipboard
A Flutter app that manages a list on contacts on MongoDB Cloud Atlas
Flutter and MongoDB Mini-Course solution | Contacts List App
This is the solution for the mini-course on YouTube. This runs for Flutter Mobile and Web.
Running the server
- 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
Running the client
- CD into the client folder
- Enter
flutter runin the Terminal to launch the project in your emulator. Make sure you have one connected.
Build the web version
- CD into client directory
- Run
flutter build web - Install the
servepackage to launch the built artifact
$ pub global activate serve
$ cd build/web
$ serve
Enjoy💙😊