Adding API With Freelancer App
Make Sure to complete API setup before the compiling process for the application.
Open the folder name Freelancer App.
Now open the Freelancer App/lib/app/env.dart file and change the following.
Update baseURL with your API URL
saves both these files.
open Terminal and go to a directory where is your app. You can use the following command to go to a different directory.
- cd project folder
Then Run the command
- flutter pub get
- flutter run