1. Home
  2. Docs
  3. Ionic 6 Capacitor Washing & Iron Full App
  4. Backend Configuration
  5. Setup Owner App With API Server

Setup Owner App With API Server

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

Open the folder name Owner App inside the Folder.

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

 

Get Firebase Keys Using This Link

Update baseURL with your API URL

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

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 command

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

How can we help?