1. Home
  2. Docs
  3. Handy Service Full App Flutter
  4. Backend Configuration
  5. Setup User-Web With API Server

Setup User-Web With API Server

Adding API With Admin Panel

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

Open the folder name User Web Version.

Now open User Web App/src/environments/environment.prod.ts and Owner App/src/environments/environment.ts file and change the following.

Update baseURL with your API URL

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

save 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 command

  • npm install
  • ng serve
Was this article helpful to you? Yes No

How can we help?