Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@
# SPDX-FileCopyrightText: © 2025 Siemens AG
# SPDX-FileContributor: Dearsh Oberoi <[email protected]>

REACT_APP_BASE_URL='http://localhost:5000/api/v1'
REACT_APP_DOMAIN_SUBDIRECTORY=''
VITE_API_BASE_URL='http://localhost:5000/api/v1'
VITE_API_DOMAIN_SUBDIRECTORY=''
PUBLIC_URL='http:localhost:3000'

# possible values are oidc or password. If password, ui for username-password
# login will be shown, otherwise, ui for oidc will be shown.
# if unset or some other value, username-password login flow will be shown by default
REACT_APP_PROVIDER='password'
VITE_API_PROVIDER='password'

#OIDC
REACT_APP_CLIENT_ID='client-id'
REACT_APP_AUTH_URL='provider authorization url'
REACT_APP_TOKEN_URL='provider token url'
REACT_APP_REDIRECT_URL='provider redirect url'
VITE_API_CLIENT_ID='client-id'
VITE_API_AUTH_URL='provider authorization url'
VITE_API_TOKEN_URL='provider token url'
VITE_API_REDIRECT_URL='provider redirect url'
29 changes: 29 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import js from '@eslint/js'
import globals from 'globals'
import reactHooks from 'eslint-plugin-react-hooks'
import reactRefresh from 'eslint-plugin-react-refresh'
import { defineConfig, globalIgnores } from 'eslint/config'

export default defineConfig([
globalIgnores(['dist']),
{
files: ['**/*.{js,jsx}'],
extends: [
js.configs.recommended,
reactHooks.configs['recommended-latest'],
reactRefresh.configs.vite,
],
languageOptions: {
ecmaVersion: 2020,
globals: globals.browser,
parserOptions: {
ecmaVersion: 'latest',
ecmaFeatures: { jsx: true },
sourceType: 'module',
},
},
rules: {
'no-unused-vars': ['error', { varsIgnorePattern: '^[A-Z_]' }],
},
},
])
106 changes: 0 additions & 106 deletions eslint.config.mjs

This file was deleted.

18 changes: 18 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta name="description" content="Web site created using Vite" />
<link rel="apple-touch-icon" href="/logo192.png" />
<link rel="manifest" href="/manifest.json" />
<title>LicenseDb</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>
Loading