diff --git a/.env-export-swagger b/.env-export-swagger index e6bacd5a..e0ca414f 100644 --- a/.env-export-swagger +++ b/.env-export-swagger @@ -11,7 +11,7 @@ AUTH_SESSION_SECRET=super-secret-key DB_TYPE=sqlite -VITE_ATTRACCESS_URL=http://localhost:3000 +VITE_FABACCESS_URL=http://localhost:3000 FRONTEND_URL=http://localhost:4200 SMTP_SERVICE=SMTP @@ -27,4 +27,4 @@ LOG_LEVELS=error,warn,log,debug PLUGIN_DIR=./storage/plugins STATIC_FRONTEND_FILE_PATH=dist/apps/frontend -STATIC_DOCS_FILE_PATH=docs \ No newline at end of file +STATIC_DOCS_FILE_PATH=docs diff --git a/.env.example b/.env.example index fc6dcead..42b05af6 100644 --- a/.env.example +++ b/.env.example @@ -11,7 +11,7 @@ AUTH_SESSION_SECRET= DB_TYPE=sqlite -VITE_ATTRACCESS_URL=http://localhost:3000 +VITE_FABACCESS_URL=http://localhost:3000 FRONTEND_URL=http://localhost:4200 SMTP_SERVICE=SMTP diff --git a/.env.serve b/.env.serve index ee347f82..5ba06e3e 100644 --- a/.env.serve +++ b/.env.serve @@ -12,11 +12,11 @@ AUTH_SESSION_SECRET=super-secret-key DB_TYPE=sqlite # HTTP -VITE_ATTRACCESS_URL=http://localhost:3000 +VITE_FABACCESS_URL=http://localhost:3000 FRONTEND_URL=http://localhost:4200 # HTTPS #SSL_GENERATE_SELF_SIGNED_CERTIFICATES=true -#VITE_ATTRACCESS_URL=https://192.168.178.91 +#VITE_FABACCESS_URL=https://192.168.178.91 SMTP_SERVICE=SMTP SMTP_HOST=localhost diff --git a/.env.test b/.env.test index 1310c0f3..5b8f908e 100644 --- a/.env.test +++ b/.env.test @@ -3,20 +3,20 @@ AUTH_JWT_SECRET=test-secret-key AUTH_SESSION_SECRET=test-session-secret DB_TYPE=sqlite -DB_FILE=e2e.attraccess.sqlite +DB_FILE=e2e.fabaccess.sqlite -VITE_ATTRACCESS_URL=http://localhost:3000 +VITE_FABACCESS_URL=http://localhost:3000 FRONTEND_URL=http://localhost:4200 # Mailpit configuration SMTP_HOST=localhost SMTP_PORT=1025 -SMTP_USER=no-reply@attraccess.local +SMTP_USER=no-reply@fabaccess.local SMTP_PASS= -SMTP_FROM=no-reply@attraccess.local +SMTP_FROM=no-reply@fabaccess.local SMTP_SECURE=false LOG_LEVELS= #log,warn,error,debug,info -STORAGE_PATH=../../storage/spec/ \ No newline at end of file +STORAGE_PATH=../../storage/spec/ diff --git a/.github/workflows/plugin-fablab-release.yml b/.github/workflows/plugin-fablab-release.yml index f98c1f9b..b7f1603e 100644 --- a/.github/workflows/plugin-fablab-release.yml +++ b/.github/workflows/plugin-fablab-release.yml @@ -1,4 +1,4 @@ -name: Plugin FABReader Build & Attach +name: Plugin FabReader Build & Attach on: # Run on pull requests @@ -76,7 +76,7 @@ jobs: issue_number: context.issue.number, owner: context.repo.owner, repo: context.repo.repo, - body: `📦 FABReader plugin built and available as artifact: [${artifactName}.zip](${artifactUrl})` + body: `📦 FabReader plugin built and available as artifact: [${artifactName}.zip](${artifactUrl})` }); # Attach to release diff --git a/apps/api/project.json b/apps/api/project.json index 4eda7284..62f81de6 100644 --- a/apps/api/project.json +++ b/apps/api/project.json @@ -65,7 +65,7 @@ "cache": true, "outputs": ["{workspaceRoot}/dist/apps/{projectName}-swagger/swagger.json"], "options": { - "command": "AUTH_SESSION_SECRET=super-secret VITE_ATTRACCESS_URL=http://localhost:3000 AUTH_JWT_ORIGIN=ENV AUTH_JWT_SECRET=swagger-export-dummy-jwt-secret123 SMTP_SERVICE=SMTP SMTP_HOST=not-a-host SMTP_PORT=1234 SMTP_FROM=mail@fabaccess.org FRONTEND_URL=http://localhost:4200 node dist/apps/api-swagger/main.js" + "command": "AUTH_SESSION_SECRET=super-secret VITE_FABACCESS_URL=http://localhost:3000 AUTH_JWT_ORIGIN=ENV AUTH_JWT_SECRET=swagger-export-dummy-jwt-secret123 SMTP_SERVICE=SMTP SMTP_HOST=not-a-host SMTP_PORT=1234 SMTP_FROM=mail@fabaccess.org FRONTEND_URL=http://localhost:4200 node dist/apps/api-swagger/main.js" } }, "test": { diff --git a/apps/api/src/config/app.config.ts b/apps/api/src/config/app.config.ts index 261f5eb8..2ac2b07c 100644 --- a/apps/api/src/config/app.config.ts +++ b/apps/api/src/config/app.config.ts @@ -20,11 +20,11 @@ const AppEnvSchema = z message: 'Invalid log level(s). Allowed: log, error, warn, debug, verbose.', }), AUTH_SESSION_SECRET: z.string().min(1, { message: 'AUTH_SESSION_SECRET is required' }), - VITE_ATTRACCESS_URL: z.string().url({ message: 'VITE_ATTRACCESS_URL must be a valid URL' }), + VITE_FABACCESS_URL: z.string().url({ message: 'VITE_FABACCESS_URL must be a valid URL' }), FRONTEND_URL: z .string() .url({ message: 'FRONTEND_URL must be a valid URL' }) - .default(process.env.VITE_ATTRACCESS_URL), + .default(process.env.VITE_FABACCESS_URL), GLOBAL_PREFIX: z.string().default('api'), VERSION: z.string().default(process.env.npm_package_version || '1.0.0'), AUTH_JWT_SECRET: z.string(), diff --git a/apps/api/src/database/datasource.ts b/apps/api/src/database/datasource.ts index 7b3b9e1c..955d9ab3 100644 --- a/apps/api/src/database/datasource.ts +++ b/apps/api/src/database/datasource.ts @@ -5,7 +5,6 @@ import { loadEnv } from '@fabaccess/env'; import { join, resolve } from 'path'; import { entities } from '@fabaccess/database-entities'; import * as migrations from './migrations'; -import { existsSync } from 'fs'; const envType = loadEnv((z) => ({ DB_TYPE: z.enum(['postgres', 'sqlite']).default('sqlite'), @@ -45,13 +44,7 @@ function loadPostgresConfig() { function loadSqliteConfig() { const storageEnv = loadEnv((z) => ({ STORAGE_ROOT: z.string().default(join(process.cwd(), 'storage')) })); - const fabaccessDbFile = resolve(join(storageEnv.STORAGE_ROOT, 'attraccess.sqlite')); - const attraccessDbFile = resolve(join(storageEnv.STORAGE_ROOT, 'attraccess.sqlite')); - - let dbFile = fabaccessDbFile; - if (existsSync(attraccessDbFile)) { - dbFile = attraccessDbFile; - } + const dbFile = resolve(join(storageEnv.STORAGE_ROOT, 'fabaccess.sqlite')); console.log('dbFile', dbFile); diff --git a/apps/api/src/database/migrations/1748886859855-seed-email-templates.ts b/apps/api/src/database/migrations/1748886859855-seed-email-templates.ts index 6c41f02f..8c6fd086 100644 --- a/apps/api/src/database/migrations/1748886859855-seed-email-templates.ts +++ b/apps/api/src/database/migrations/1748886859855-seed-email-templates.ts @@ -87,7 +87,7 @@ export const RESET_PASSWORD_MJML_TEMPLATE = ` Visit us: {{host.frontend}} | - GitHub + GitHub @@ -183,7 +183,7 @@ export const VERIFY_EMAIL_MJML_TEMPLATE = ` Visit us: {{host.frontend}} | - GitHub + GitHub diff --git a/apps/api/src/email/email.service.ts b/apps/api/src/email/email.service.ts index fcd06b39..251f05d1 100644 --- a/apps/api/src/email/email.service.ts +++ b/apps/api/src/email/email.service.ts @@ -24,7 +24,7 @@ export class EmailService { const appConfig = this.configService.get('app'); this.frontendUrl = appConfig.FRONTEND_URL; - this.backendUrl = appConfig.VITE_ATTRACCESS_URL; + this.backendUrl = appConfig.VITE_FABACCESS_URL; this.logger.debug(`EmailService initialized with FRONTEND_URL: ${this.frontendUrl}`); } diff --git a/apps/api/src/main.bootstrap.ts b/apps/api/src/main.bootstrap.ts index a180f028..ee572cac 100644 --- a/apps/api/src/main.bootstrap.ts +++ b/apps/api/src/main.bootstrap.ts @@ -60,7 +60,7 @@ export async function bootstrap() { if (appConfig.SSL_GENERATE_SELF_SIGNED_CERTIFICATES) { const storageDir = storageConfig.root; - const host = appConfig.VITE_ATTRACCESS_URL; + const host = appConfig.VITE_FABACCESS_URL; const hostUrl = new URL(host); const domain = hostUrl.hostname; diff --git a/apps/api/src/users-and-auth/auth/sso/oidc/oidc.guard.ts b/apps/api/src/users-and-auth/auth/sso/oidc/oidc.guard.ts index 6c80f9e3..9551ffd5 100644 --- a/apps/api/src/users-and-auth/auth/sso/oidc/oidc.guard.ts +++ b/apps/api/src/users-and-auth/auth/sso/oidc/oidc.guard.ts @@ -72,7 +72,7 @@ export class SSOOIDCGuard implements CanActivate { const redirectTo = requestURL.searchParams.get('redirectTo'); - const callbackURL = new URL(appConfig.VITE_ATTRACCESS_URL); + const callbackURL = new URL(appConfig.VITE_FABACCESS_URL); callbackURL.pathname = `/api/auth/sso/${ssoType}/${providerId}/callback`; callbackURL.searchParams.set('redirectTo', redirectTo); diff --git a/apps/api/src/users-and-auth/auth/sso/oidc/oidc.strategy.ts b/apps/api/src/users-and-auth/auth/sso/oidc/oidc.strategy.ts index 78a80f76..dce46ba2 100644 --- a/apps/api/src/users-and-auth/auth/sso/oidc/oidc.strategy.ts +++ b/apps/api/src/users-and-auth/auth/sso/oidc/oidc.strategy.ts @@ -20,6 +20,7 @@ export class SSOOIDCStrategy extends PassportStrategy(Strategy, 'sso-oidc') { clientID: config.clientId, clientSecret: config.clientSecret, callbackURL, + scope: ['openid', 'email', 'profile'], }); this.logger.log(`Initialized OIDC strategy with issuer: ${config.issuer} and callbackURL: ${callbackURL}`); diff --git a/apps/frontend/src/api/index.ts b/apps/frontend/src/api/index.ts index f43efba0..9939fb7c 100644 --- a/apps/frontend/src/api/index.ts +++ b/apps/frontend/src/api/index.ts @@ -12,7 +12,7 @@ function getInferredApiUrl() { } export function getBaseUrl() { - return import.meta.env.VITE_ATTRACCESS_URL || getInferredApiUrl(); + return import.meta.env.VITE_FABACCESS_URL || getInferredApiUrl(); } const setupApiParameters = () => { diff --git a/apps/frontend/src/app/layout/sidebarItems.tsx b/apps/frontend/src/app/layout/sidebarItems.tsx index 55cbe161..98e4819d 100644 --- a/apps/frontend/src/app/layout/sidebarItems.tsx +++ b/apps/frontend/src/app/layout/sidebarItems.tsx @@ -108,7 +108,7 @@ export const useSidebarEndItems = () => { const reportBugUrl = newGithubIssueUrl({ user: 'FabInfra', - repo: 'FabAccess', + repo: 'FabAccess-V2', title: '[Bug] ', labels: ['bug'], body: ` @@ -129,7 +129,7 @@ export const useSidebarEndItems = () => { const requestFeatureUrl = newGithubIssueUrl({ user: 'FabInfra', - repo: 'FabAccess', + repo: 'FabAccess-V2', title: '[Feature Request] ', labels: ['enhancement'], body: ` @@ -167,7 +167,7 @@ export const useSidebarEndItems = () => { translationKey: 'dependencies', }, { - path: getBaseUrl() + '/docs', + path: getBaseUrl() + '/docs/#/', icon: BookOpenIcon, translationKey: 'docs', isExternal: true, diff --git a/docs/HOME.md b/docs/HOME.md index 53661b06..f77a2733 100644 --- a/docs/HOME.md +++ b/docs/HOME.md @@ -24,7 +24,7 @@ FabAccess is a powerful platform designed to simplify and secure access manageme ## Support -Need help? Open an issue on our [GitHub repository](https://github.com/FabInfra/FabAccess). +Need help? Open an issue on our [GitHub repository](https://github.com/FabInfra/FabAccess-V2). > [!NOTE] > This documentation is also accessible directly from your running FabAccess instance at `/docs`. diff --git a/docs/developer/get-started.md b/docs/developer/get-started.md index 5f4ab3f5..bddfcbd9 100644 --- a/docs/developer/get-started.md +++ b/docs/developer/get-started.md @@ -91,7 +91,7 @@ FabAccess follows an Nx monorepo structure, organized into apps and libs: 4. Run database migrations: ```bash - nx run api:run-migrations + nx migrations-run api ``` ### Development diff --git a/docs/setup/beginner-guide.md b/docs/setup/beginner-guide.md index 8cff9913..d519753f 100644 --- a/docs/setup/beginner-guide.md +++ b/docs/setup/beginner-guide.md @@ -70,7 +70,7 @@ Now, open the `.env` file with a text editor and add the following configuration AUTH_JWT_ORIGIN=ENV AUTH_JWT_SECRET=replace_with_a_long_random_string AUTH_SESSION_SECRET=replace_with_another_long_random_string -VITE_ATTRACCESS_URL=http://localhost:3000 +VITE_FABACCESS_URL=http://localhost:3000 # Email Configuration SMTP_SERVICE=SMTP @@ -121,16 +121,16 @@ If you've installed FabAccess on a remote server (not your local computer): 3. Go to `http://your-server-ip:3000` (replace `your-server-ip` with your actual server's IP address) 4. If you have a domain name pointing to your server, you can use `http://your-domain.com:3000` -> 💡 **Important:** When installing on a remote server, you should update the `VITE_ATTRACCESS_URL` in your `.env` file to match how you'll access the application: +> 💡 **Important:** When installing on a remote server, you should update the `VITE_FABACCESS_URL` in your `.env` file to match how you'll access the application: > > ``` -> VITE_ATTRACCESS_URL=http://your-server-ip:3000 +> VITE_FABACCESS_URL=http://your-server-ip:3000 > ``` > > or > > ``` -> VITE_ATTRACCESS_URL=http://your-domain.com:3000 +> VITE_FABACCESS_URL=http://your-domain.com:3000 > ``` ##### Firewall Considerations @@ -146,7 +146,7 @@ For production environments, it's recommended to: 1. Set up a reverse proxy (like Nginx or Apache) in front of FabAccess 2. Configure SSL/TLS certificates (using Let's Encrypt) -3. Update your `VITE_ATTRACCESS_URL` to use `https://` instead of `http://` +3. Update your `VITE_FABACCESS_URL` to use `https://` instead of `http://` Detailed instructions for setting up a secure proxy are beyond the scope of this beginner guide, but we recommend researching this for any production deployment. diff --git a/docs/setup/docker-compose-guide.md b/docs/setup/docker-compose-guide.md index b1d9a56f..0da90b3b 100644 --- a/docs/setup/docker-compose-guide.md +++ b/docs/setup/docker-compose-guide.md @@ -53,7 +53,7 @@ services: - AUTH_JWT_ORIGIN=ENV - AUTH_JWT_SECRET=replace_with_a_long_random_string - AUTH_SESSION_SECRET=replace_with_another_long_random_string - - VITE_ATTRACCESS_URL=http://localhost:3000 + - VITE_FABACCESS_URL=http://localhost:3000 # Email Configuration - SMTP_SERVICE=SMTP @@ -129,16 +129,16 @@ Update the email settings in your `docker-compose.yml` file with your actual SMT #### URL Configuration -If you're deploying FabAccess to be accessible from other computers, update the `VITE_ATTRACCESS_URL` with your actual domain or IP address: +If you're deploying FabAccess to be accessible from other computers, update the `VITE_FABACCESS_URL` with your actual domain or IP address: ```yaml -- VITE_ATTRACCESS_URL=https://fabaccess.yourdomain.com +- VITE_FABACCESS_URL=https://fabaccess.yourdomain.com ``` or ```yaml -- VITE_ATTRACCESS_URL=http://your-server-ip:3000 +- VITE_FABACCESS_URL=http://your-server-ip:3000 ``` ### Step 5: Start FabAccess @@ -231,7 +231,7 @@ touch .env AUTH_JWT_ORIGIN=ENV AUTH_JWT_SECRET=your_secure_jwt_secret AUTH_SESSION_SECRET=your_secure_session_secret -VITE_ATTRACCESS_URL=http://localhost:3000 +VITE_FABACCESS_URL=http://localhost:3000 # Email Configuration SMTP_SERVICE=SMTP diff --git a/docs/setup/installation.md b/docs/setup/installation.md index 73ef2cb0..fc7e3a44 100644 --- a/docs/setup/installation.md +++ b/docs/setup/installation.md @@ -32,7 +32,7 @@ FabAccess requires several environment variables to function properly: | `AUTH_JWT_ORIGIN` | JWT secret source, either "ENV" or "FILE" | Yes | - | | `AUTH_JWT_SECRET` | JWT secret when using ENV origin | If AUTH_JWT_ORIGIN=ENV | - | | `AUTH_SESSION_SECRET` | Secret for encrypting sessions | Yes | - | -| `VITE_ATTRACCESS_URL` | URL/hostname of your FabAccess instance | Yes | - | +| `VITE_FABACCESS_URL` | URL/hostname of your FabAccess instance | Yes | - | > [!WARNING] > Always use strong, unique secrets for `AUTH_JWT_SECRET` and `AUTH_SESSION_SECRET`. These are critical for your application's security. @@ -86,7 +86,7 @@ docker run -d \ -e AUTH_JWT_ORIGIN=ENV \ -e AUTH_JWT_SECRET=your_secure_jwt_secret \ -e AUTH_SESSION_SECRET=your_secure_session_secret \ - -e VITE_ATTRACCESS_URL=https://fabaccess.yourdomain.com \ + -e VITE_FABACCESS_URL=https://fabaccess.yourdomain.com \ -e SMTP_SERVICE=SMTP \ -e SMTP_FROM=no-reply@yourdomain.com \ -e SMTP_HOST=smtp.yourdomain.com \ @@ -138,7 +138,7 @@ docker run -d \ -p 3000:3000 \ -e AUTH_JWT_ORIGIN=FILE \ -e AUTH_SESSION_SECRET=your_secure_session_secret \ - -e VITE_ATTRACCESS_URL=https://fabaccess.yourdomain.com \ + -e VITE_FABACCESS_URL=https://fabaccess.yourdomain.com \ -v /path/to/jwt/secret:/app/secrets \ -v /path/to/storage:/app/storage \ fabaccess/fabaccess:latest @@ -171,7 +171,7 @@ docker run -d \ -e AUTH_JWT_ORIGIN=ENV \ -e AUTH_JWT_SECRET=your_secure_jwt_secret \ -e AUTH_SESSION_SECRET=your_secure_session_secret \ - -e VITE_ATTRACCESS_URL=https://fabaccess.yourdomain.com \ + -e VITE_FABACCESS_URL=https://fabaccess.yourdomain.com \ -v /path/to/plugins:/app/plugins \ -v /path/to/storage:/app/storage \ fabaccess/fabaccess:latest diff --git a/docs/setup/portainer-guide.md b/docs/setup/portainer-guide.md index 0ad06fd9..bce66d3f 100644 --- a/docs/setup/portainer-guide.md +++ b/docs/setup/portainer-guide.md @@ -82,7 +82,7 @@ docker run -d -p 8000:8000 -p 9000:9000 --name=portainer --restart=always -v /va | AUTH_JWT_ORIGIN | ENV | | AUTH_JWT_SECRET | replace_with_a_long_random_string | | AUTH_SESSION_SECRET | replace_with_another_long_random_string | -| VITE_ATTRACCESS_URL | http://your-server-ip:3000 | +| VITE_FABACCESS_URL | http://your-server-ip:3000 | | SMTP_SERVICE | SMTP | | SMTP_FROM | your-email@example.com | | SMTP_HOST | smtp.example.com | @@ -120,7 +120,7 @@ services: - AUTH_JWT_ORIGIN=ENV - AUTH_JWT_SECRET=replace_with_a_long_random_string - AUTH_SESSION_SECRET=replace_with_another_long_random_string - - VITE_ATTRACCESS_URL=http://your-server-ip:3000 + - VITE_FABACCESS_URL=http://your-server-ip:3000 # Email Configuration - SMTP_SERVICE=SMTP diff --git a/docs/setup/ssl-configuration.md b/docs/setup/ssl-configuration.md index 2685baca..6b70f312 100644 --- a/docs/setup/ssl-configuration.md +++ b/docs/setup/ssl-configuration.md @@ -32,7 +32,7 @@ docker run -d \ -e AUTH_JWT_ORIGIN=ENV \ -e AUTH_JWT_SECRET=your_secure_jwt_secret \ -e AUTH_SESSION_SECRET=your_secure_session_secret \ - -e VITE_ATTRACCESS_URL=https://fabaccess.yourdomain.com \ + -e VITE_FABACCESS_URL=https://fabaccess.yourdomain.com \ -v /path/to/storage:/app/storage \ fabaccess/fabaccess:latest ``` @@ -72,7 +72,7 @@ docker run -d \ -e AUTH_JWT_ORIGIN=ENV \ -e AUTH_JWT_SECRET=your_secure_jwt_secret \ -e AUTH_SESSION_SECRET=your_secure_session_secret \ - -e VITE_ATTRACCESS_URL=https://fabaccess.yourdomain.com \ + -e VITE_FABACCESS_URL=https://fabaccess.yourdomain.com \ -v /path/to/storage:/app/storage \ fabaccess/fabaccess:latest ``` @@ -165,7 +165,7 @@ Since self-signed certificates are not issued by a trusted Certificate Authority 1. **Use Custom Certificates for Production**: Always use proper CA-signed certificates for production environments 2. **Regular Renewal**: Monitor certificate expiration dates and renew before expiry 3. **Secure Storage**: Keep private keys secure and limit access to certificate files -4. **Strong Domains**: Use proper domain names in your `VITE_ATTRACCESS_URL` configuration +4. **Strong Domains**: Use proper domain names in your `VITE_FABACCESS_URL` configuration ## 🔧 Troubleshooting @@ -199,7 +199,7 @@ For custom certificates: When using SSL, make sure to: -- Use HTTPS URLs in your `VITE_ATTRACCESS_URL` +- Use HTTPS URLs in your `VITE_FABACCESS_URL` - Map port 443 (standard HTTPS port) to container port 3000: `-p 443:3000` - Update any firewall rules to allow HTTPS traffic on port 443 diff --git a/libs/api-client/src/generated/Api.ts b/libs/api-client/src/generated/Api.ts index 60a2453c..478dd680 100644 --- a/libs/api-client/src/generated/Api.ts +++ b/libs/api-client/src/generated/Api.ts @@ -4293,7 +4293,7 @@ export class HttpClient { /** * @title FabAccess API - * @version 1.0.0 + * @version 0.0.16 * @contact * * The FabAccess API used to manage machine and tool access in a Makerspace or FabLab diff --git a/libs/react-query-client/src/lib/requests/core/OpenAPI.ts b/libs/react-query-client/src/lib/requests/core/OpenAPI.ts index 890b1123..ffc3f77d 100644 --- a/libs/react-query-client/src/lib/requests/core/OpenAPI.ts +++ b/libs/react-query-client/src/lib/requests/core/OpenAPI.ts @@ -47,7 +47,7 @@ export const OpenAPI: OpenAPIConfig = { PASSWORD: undefined, TOKEN: undefined, USERNAME: undefined, - VERSION: '1.0.0', + VERSION: '0.0.16', WITH_CREDENTIALS: false, interceptors: { request: new Interceptors(), diff --git a/test/docker-compose.yaml b/test/docker-compose.yaml index 20577f68..91d5ceee 100644 --- a/test/docker-compose.yaml +++ b/test/docker-compose.yaml @@ -12,7 +12,7 @@ services: - AUTH_JWT_ORIGIN=FILE - AUTH_JWT_SECRET=/app/secrets/secret.txt - - VITE_ATTRACCESS_URL=http://localhost:3000 + - VITE_FABACCESS_URL=http://localhost:3000 # Email Configuration - SMTP_SERVICE=SMTP diff --git a/tools/generators/README.md b/tools/generators/README.md index d6f8e33f..eb45e0c0 100644 --- a/tools/generators/README.md +++ b/tools/generators/README.md @@ -1,11 +1,11 @@ -# attracces +# fabaccess This library was generated with [Nx](https://nx.dev). ## Building -Run `nx build attracces` to build the library. +Run `nx build fabaccess` to build the library. ## Running unit tests -Run `nx test attracces` to execute the unit tests via [Jest](https://jestjs.io). +Run `nx test fabaccess` to execute the unit tests via [Jest](https://jestjs.io). diff --git a/tsconfig.base.json b/tsconfig.base.json index 957428d4..e1c1df46 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -18,7 +18,7 @@ "baseUrl": ".", "paths": { "@fabaccess/api-client": ["libs/api-client/src/index.ts"], - "@fabaccess/attracces": ["tools/attracces/src/index.ts"], + "@fabaccess/fabaccess": ["tools/fabaccess/src/index.ts"], "@fabaccess/database-entities": ["libs/database-entities/src/index.ts"], "@fabaccess/env": ["libs/env/src/index.ts"], "@fabaccess/plugins-backend-sdk": ["libs/plugins-backend-sdk/src/index.ts"],