Adding API With Admin Panel
Make Sure to complete API setup before the compiling process for the application.
Open the folder name Owner App inside the ShopBay-App Folder.
Now open Admin Panel/src/environments/environment.prod.ts and Admin Panel/src/environments/environment.ts file and change the following.
Update baseURL with your API URL
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