Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/pkirilin/food-diary into pr…
Browse files Browse the repository at this point in the history
…oducts-default-quantity
  • Loading branch information
pkirilin committed Dec 28, 2023
2 parents 11372b5 + 063f61a commit 9af8822
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,16 +91,16 @@ VITE_APP_FAKE_AUTH_LOGIN_ON_INIT=true

## Frontend environment variables

| Name | Type | Description
|---|---|---
| `VITE_APP_API_URL` | `string` | Specifies a backend API base URL without a trim slash, e.g. `https://localhost:5001`
| `VITE_APP_AUTH_CHECK_INTERVAL` | `number` | Specifies the auth status check interval in milliseconds to ensure that users with expired cookies will not be able to use the application without refreshing the page in the browser. Not used if `VITE_APP_FAKE_AUTH_ENABLED` is `true`
| `VITE_APP_DEMO_MODE_ENABLED` | `boolean` | Enables demo mode. In demo mode, some features related to file system or external integrations are disabled
| `VITE_APP_FAKE_AUTH_ENABLED` | `boolean` | Setups fake authentication flow without using a backend server and OAuth Identity provider. Used for local development
| `VITE_APP_FAKE_AUTH_LOGIN_ON_INIT` | `boolean` | Defines whether the user is authenticated by default when using a fake authentication flow. Used for local development
| `VITE_APP_MSW_ENABLED` | `boolean` | Enables mockServiceWorker to intercept and mock all API requests. Used for testing or local development purposes
| `VITE_APP_GOOGLE_ANALYTICS_ENABLED` | `boolean` | Enables Google Analytics
| `VITE_APP_GOOGLE_ANALYTICS_MEASUREMENT_ID` | `string` | Measurement (data stream) ID for Google Analytics
Name | Type | Description
-------------------------------------------|-----------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
`VITE_APP_API_URL` | `string` | Specifies a backend API base URL without a trim slash, e.g. `https://localhost:5001`
`VITE_APP_AUTH_CHECK_INTERVAL` | `number` | Specifies the auth status check interval in milliseconds to ensure that users with expired cookies will not be able to use the application without refreshing the page in the browser. Not used if `VITE_APP_FAKE_AUTH_ENABLED` is `true`
`VITE_APP_DEMO_MODE_ENABLED` | `boolean` | Enables demo mode. In demo mode, some features related to file system or external integrations are disabled
`VITE_APP_FAKE_AUTH_ENABLED` | `boolean` | Setups fake authentication flow without using a backend server and OAuth Identity provider. Used for local development
`VITE_APP_FAKE_AUTH_LOGIN_ON_INIT` | `boolean` | Defines whether the user is authenticated by default when using a fake authentication flow. Used for local development
`VITE_APP_MSW_ENABLED` | `boolean` | Enables mockServiceWorker to intercept and mock all API requests. Used for testing or local development purposes
`VITE_APP_GOOGLE_ANALYTICS_ENABLED` | `boolean` | Enables Google Analytics
`VITE_APP_GOOGLE_ANALYTICS_MEASUREMENT_ID` | `string` | Measurement (data stream) ID for Google Analytics

## How to generate database migrations

Expand Down

0 comments on commit 9af8822

Please sign in to comment.