Connect To Backend

After setting up the backend on your server. For your app to communicate with your setup backend you need to change the url endpoint on your app.

Go to lib/constants/api.dart and change baseUrl variable value.

  static String get baseUrl {
    return "https://YOUR_SERVER_DOMAIN/api";
    // return "http://192.168.8.145:8000/api";
  }

Last updated