Setup instructions to set up both backend [Node.js server
] and frontend [Flutter app
].
- Android Studio or any
IDE
to open Flutter project JDK
-
Install
Flutter
by following instructions from flutter.dev. To summarise:- Select the appropriate operating system
- Download the flutter sdk to a preferred location on your local system.
-
Fork and clone the
FamTrack repository
to your local machine. -
Make sure to install the
Flutter
andDart
plugins.- If FamTrack is the first flutter project that you will be viewing in Android Studio then:
- Start Android Studio
- Open Plugin Preferences
- Browse repositories and search for flutter
- Install and click yes to install Dart as well if prompted.
- Flutter and dart can also be installed after opening a project.
- Go to File menu -> Settings -> plugins
- Search for the plugin. In this case it would be Flutter and Dart. Install them if not done yet and click Apply.
- If FamTrack is the first flutter project that you will be viewing in Android Studio then:
This section will help you set up the project locally on your system.
- Open the project on your IDE.
- Run
pub get
on project level terminal to install all the required dependencies. - Ensure that the Flutter SDK is provided the correct path. Open File menu -> Settings -> Languages & Frameworks -> Flutter
- In order to run a flutter project, either a virtual device needs to be setup or a physical device can be used. Remember to
enable Debugging
in Developer Options in the physical device. - Connect your physical device or setup the virtual device before you run the application. Ensure that the device is visible on top menu.
- Run the command
flutter run
to run the application on your phone.
Huge shoutout to AnitaB's mentorship-flutter project for the detailed installation guide!
- Node Package Manager [NPM]
- Install express using NPM
npm install —save express
- Just run the command
node server