- Flutter sdk should be installed. (Version >=2.8.x)
- Node.js should be installed. (Version >=16.x.x)
- An IDE (e.g VSCode, Atom etc)
- Extract the downloaded starterKit.zip folder.
- Open the starterKit folder and rename it to your requirement.
- Now open the folder and switch to the expressBackend named folder, then run the command
npm install
. - After all the dependencies are installed run the command
npm run dev
. - This will run the local express server and you will be able to use it with Flutter.
- Now, navigate to the flutterapp named folder and then run the command
flutter pub get
. - Start your emulator or simulator to run the flutter application in your preferred device.
- Inside the lib folder of flutter project structure, select service_class file and set your localhost url according to the device.
- Move to the main.dart file in the lib folder of the flutterapp project structure and then hit command
flutter run lib\main.dart
.