{"id":19852478,"url":"https://github.com/someengineering/fixfrontend","last_synced_at":"2025-05-02T00:31:18.164Z","repository":{"id":218955674,"uuid":"690054382","full_name":"someengineering/fixfrontend","owner":"someengineering","description":"Fix frontend component","archived":false,"fork":false,"pushed_at":"2024-10-29T12:18:05.000Z","size":5307,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":6,"default_branch":"main","last_synced_at":"2024-10-29T12:47:32.829Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://app.fix.security","language":"TypeScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/someengineering.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-11T12:50:46.000Z","updated_at":"2024-10-29T12:18:08.000Z","dependencies_parsed_at":"2024-03-12T14:12:36.775Z","dependency_job_id":"f7a53e95-6724-444e-a930-2df2e6587e67","html_url":"https://github.com/someengineering/fixfrontend","commit_stats":null,"previous_names":["someengineering/fixfrontend"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/someengineering%2Ffixfrontend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/someengineering%2Ffixfrontend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/someengineering%2Ffixfrontend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/someengineering%2Ffixfrontend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/someengineering","download_url":"https://codeload.github.com/someengineering/fixfrontend/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251966431,"owners_count":21672666,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T14:02:53.316Z","updated_at":"2025-05-02T00:31:13.150Z","avatar_url":"https://github.com/someengineering.png","language":"TypeScript","readme":"# Fix Frontend\n\nThe frontend for the Fix service.\n\n## Installation\n\nThis project requires [NodeJS](https://nodejs.org) version 18 (\u003e= v18.17.1) and [Yarn](https://yarnpkg.com) version 1 (\u003e= v1.22.19) to run.\n\n- **NodeJS:** [Download here](https://nodejs.org/dist/v18.17.1)\n- **Yarn:** Run `npm i -g yarn` after installing NodeJS. More info in the [Yarn documentation](https://classic.yarnpkg.com/en/docs/getting-started)\n\n## Environment variables\n\n| Variable                            | Type      | Description                                                                                                               | Default value                           |\n| ----------------------------------- | --------- | ------------------------------------------------------------------------------------------------------------------------- | --------------------------------------- |\n| `VITE_FIX_LANDING_PAGE_URL`         | `string`  | URL of main landing page                                                                                                  | `location.origin`                       |\n| `VITE_FIX_DOCS_URL`                 | `string`  | URL of fix document                                                                                                       | `location.origin`                       |\n| `VITE_BOOK_A_CALL_URL`              | `string`  | Book a call button URL                                                                                                    | `#`                                     |\n| `VITE_DISCORD_URL`                  | `string`  | Discord server URL                                                                                                        | `#`                                     |\n| `VITE_GITHUB_URL`                   | `string`  | Github URL                                                                                                                | `#`                                     |\n| `VITE_SERVER`                       | `string`  | Server address for API calls (ignored in test environments or when `VITE_USE_PROXY=true`)                                 | `location.origin`                       |\n| `VITE_WS_SERVER`                    | `string`  | WS server address for events (ignored in test environments or when `VITE_USE_PROXY=true`)                                 | `location.origin.replace('http', 'ws')` |\n| `VITE_VIDEOS_ASSETS_URL`            | `string`  | URL to CDN containing videos assets                                                                                       | `location.origin`                       |\n| `VITE_IMAGES_ASSETS_URL`            | `string`  | URL to CDN containing images assets                                                                                       | `location.origin`                       |\n| `VITE_USE_PROXY`                    | `boolean` | Whether or not Vite should use a proxy for API calls                                                                      | `false`                                 |\n| `VITE_MIN_ACTIVE_MINUTES`           | `number`  | How many minutes counts as an active user                                                                                 | `60`                                    |\n| `VITE_NETWORK_RETRY_COUNT`          | `number`  | Number of retries for 5xx failed API requests                                                                             | `5`                                     |\n| `VITE_WEBSOCKET_RETRY_TIMEOUT`      | `number`  | Time in milliseconds to wait before retrying 5xx failed API requests                                                      | `5000`                                  |\n| `HOST`                              | `string`  | Host on which Vite should create the server                                                                               | `localhost`                             |\n| `PORT`                              | `number`  | Port on which Vite should run the local server                                                                            | `5173`                                  |\n| `VITE_USE_MOCK`                     | `boolean` | Whether or not to use the mock server                                                                                     | `false`                                 |\n| `VITE_MUI_LICENSE_KEY`              | `string`  | MUI premium license key (if undefined, MUI license won't be installed)                                                    | `undefined`                             |\n| `VITE_LOAD_PAGE_TIMEOUT`            | `number`  | Loading page timeout in milliseconds                                                                                      | `30000`                                 |\n| `VITE_POSTHOG_DEV_PROJECT_API_KEY`  | `string`  | Development/testing PostHog project API key (if undefined, PostHog won't be initialized in test/development environments) | `undefined`                             |\n| `VITE_POSTHOG_PROD_PROJECT_API_KEY` | `string`  | Production PostHog project API key (if undefined, PostHog won't be initialized in production environments)                | `undefined`                             |\n| `VITE_POSTHOG_API_HOST`             | `string`  | URL of PostHog instance                                                                                                   | `https://eu.posthog.com`                |\n| `VITE_POSTHOG_UI_HOST`              | `string`  | PostHog app URL (required if using a reverse proxy for `VITE_POSTHOG_API_HOST`)                                           | `undefined`                             |\n| `VITE_POSTHOG_TEST`                 | `boolean` | Test PostHog locally for development purposes                                                                             | `false`                                 |\n\n## Scripts\n\nIn the project directory, you can run:\n\n### `yarn start`\n\nRuns the app in the development mode.\\\nOpen [http://localhost:8081](http://localhost:8081) to view it in the browser.\n\nThe page will reload if you make edits.\\\nYou will also see any lint errors in the console.\n\n### `yarn test`\n\nLaunches the test runner in the interactive watch mode.\\\nSee the section about [Getting Started in Vitest](https://vitest.dev/guide/) for more information.\n\n### `yarn build`\n\nBuilds the app for production to the `build` folder.\\\nIt correctly bundles React in production mode and optimizes the build for the best performance.\n\nThe build is minified and the filenames include the hashes.\\\nYour app is ready to be deployed!\n\nSee the section about [deployment](https://vitejs.dev/guide/cli.html#build) for more information.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsomeengineering%2Ffixfrontend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsomeengineering%2Ffixfrontend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsomeengineering%2Ffixfrontend/lists"}