Changes between Version 8 and Version 9 of AdvancedApplicationDevelopment


Ignore:
Timestamp:
01/24/25 12:22:18 (6 days ago)
Author:
153093
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AdvancedApplicationDevelopment

    v8 v9  
    55    -   After cloning you should these two folders. (**WineTrackerUI** and **!WineTrackerWebApi**)
    66 
    7 2.      Execute the Scripts from Phase 2 in a PostgreSQL DB on the public schema(The Api and Scripts use the public schema)
    8 3.      Enter the connection string in appsettings.json in the API and your api should be good to go.
    9     -   Please add Include Error Detail=True; at the end od the connection string so the errors we might have are more descriptive on the UI.
     72.      if starting from an empty PostgreSQL database execute the Scripts from Phase 2 in a PostgreSQL DB on the public schema(The Api and Scripts use the public schema)
     8    -   For this project the scripts are **already executed** on the given DB so no need to execute them again. The App is ready to go.
     9
     103.      Enter the connection string in appsettings.json in the API and your api should be good to go.   
     11    -   Please add **Include Error Detail=True**; at the end od the connection string so the errors we might have are **more descriptive** on the UI.
    1012
    11134.      Start up the API locally. Swagger should open and the api should be working.
    12 5.      Next open the UI Folder and Start the UI, execute npm install in the terminal.
    13 6.      Then find the app-settings.ts file in the UI
    14     -   It should look like this, please change the port to the one shown in the browser of the swagger of the API
     145.      Next open the UI Folder and Start the UI, execute** npm install** in the terminal.
     156.      Then find the **app-settings.ts** file in the UI
     16    -   Please change the ApiUrl, change the port to the one shown in the browser of the swagger of the API
     17   
     18{{{
     19export enum AppSettings{
     20    ApiUrl = 'https://localhost:44306/api/',
     21    OfflineMode = 0,
     22}
     23}}}
     24
    1525 
    16267.      Execute npm start in the terminal and the UI will be started.