Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keycloak crud user management #35

Merged
merged 21 commits into from
Nov 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
20 changes: 20 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# GitHub repository handle
# CHANGE ME
GH_REPO_HANDLE=mern-monorepo-starter

# GitHub author handle
# CHANGE ME
GH_AUTHOR_HANDLE=brunotot

# GitHub author name
# CHANGE ME
GH_AUTHOR_NAME=Bruno Tot

# Custom app name (handle format)
# This changes the name of file `packages/mern-sample-app`
# CHANGE ME
CUSTOM_APP_ID=mern-sample-app

# Custom app name (human format)
# CHANGE ME
CUSTOM_APP_NAME=MERN Sample App
1 change: 0 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
}
],
"pathGroupsExcludedImportTypes": ["type"],
"newlines-between": "always", // Enforce newlines between groups
"alphabetize": {
"order": "asc",
"caseInsensitive": true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-app-node-express.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ jobs:
with:
filters: |
app-node-express:
- 'packages/mern-sample-app/app-node-express/**'
- 'apps/app-node-express/**'

- name: 🛠 Setup Git, PNPM and Node.js
if: steps.changes.outputs.app-node-express == 'true'
uses: ./.github/composite-actions/install

- name: 🚀 Run test
if: steps.changes.outputs.app-node-express == 'true'
run: pnpm run app-node-express:test
run: pnpm --filter app-node-express test
4 changes: 2 additions & 2 deletions .github/workflows/test-app-vite-react.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ jobs:
with:
filters: |
app-vite-react:
- 'packages/mern-sample-app/app-vite-react/**'
- 'apps/app-vite-react/**'

- name: 🛠 Setup Git, PNPM and Node.js
if: steps.changes.outputs.app-vite-react == 'true'
uses: ./.github/composite-actions/install

- name: 🚀 Run test
if: steps.changes.outputs.app-vite-react == 'true'
run: pnpm run app-vite-react:test
run: pnpm --filter app-vite-react test
4 changes: 2 additions & 2 deletions .github/workflows/test-lib-api-client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ jobs:
with:
filters: |
lib-api-client:
- 'packages/mern-sample-app/lib-api-client/**'
- 'packages/lib-api-client/**'

- name: 🛠 Setup Git, PNPM and Node.js
if: steps.changes.outputs.lib-api-client == 'true'
uses: ./.github/composite-actions/install

- name: 🚀 Run test
if: steps.changes.outputs.lib-api-client == 'true'
run: pnpm run lib-api-client:test
run: pnpm --filter lib-api-client test
4 changes: 2 additions & 2 deletions .github/workflows/test-lib-commons.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ jobs:
with:
filters: |
lib-commons:
- 'packages/mern-sample-app/lib-commons/**'
- 'packages/lib-commons/**'

- name: 🛠 Setup Git, PNPM and Node.js
if: steps.changes.outputs.lib-commons == 'true'
uses: ./.github/composite-actions/install

- name: 🚀 Run test
if: steps.changes.outputs.lib-commons == 'true'
run: pnpm run lib-commons:test
run: pnpm --filter lib-commons test
35 changes: 35 additions & 0 deletions .github/workflows/test-lib-decorators.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: test-lib-decorators

on:
push:
branches:
- "main"
pull_request:
branches:
- "**"
merge_group:
workflow_dispatch:

jobs:
test-lib-decorators:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: ⚙️ Configure paths filter environment variable
uses: dorny/paths-filter@v3
id: changes
with:
filters: |
lib-decorators:
- 'packages/lib-decorators/**'

- name: 🛠 Setup Git, PNPM and Node.js
if: steps.changes.outputs.lib-decorators == 'true'
uses: ./.github/composite-actions/install

- name: 🚀 Run test
if: steps.changes.outputs.lib-decorators == 'true'
run: pnpm --filter lib-decorators test
35 changes: 35 additions & 0 deletions .github/workflows/test-lib-mongodb.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: test-lib-mongodb

on:
push:
branches:
- "main"
pull_request:
branches:
- "**"
merge_group:
workflow_dispatch:

jobs:
test-lib-mongodb:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: ⚙️ Configure paths filter environment variable
uses: dorny/paths-filter@v3
id: changes
with:
filters: |
lib-mongodb:
- 'packages/lib-mongodb/**'

- name: 🛠 Setup Git, PNPM and Node.js
if: steps.changes.outputs.lib-mongodb == 'true'
uses: ./.github/composite-actions/install

- name: 🚀 Run test
if: steps.changes.outputs.lib-mongodb == 'true'
run: pnpm --filter lib-mongodb test
17 changes: 12 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
node_modules/**
docs/**
dist/**
coverage/**
packages/**/**/coverage/**

*/**/.vscode/*
!*/**/.vscode/extensions.json

**/node_modules/**
**/docs/**
**/dist/**
**/logs/**
**/coverage/**

.nx/cache
.nx/workspace-data
Loading