1. Home
  2. Docs
  3. Ultimate Flutter Grocery Delivery
  4. Backend Configuration
  5. Setup Store App With API Server

Setup Store App With API Server

Adding API With Store App

Make Sure to complete API setup before the compiling process for the application.

Open the folder name Store App.

Now open the Store App/lib/app/env.dart file and change the following.

Update baseURL with your API URL

  • https://yourapiendpoint.com/public/api/
  • https://yourapiendpoint.com/public/storage/images/

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
Was this article helpful to you? Yes No

How can we help?