diff --git a/README.md b/README.md index 646e24b..e69de29 100644 --- a/README.md +++ b/README.md @@ -1,15 +0,0 @@ -# Demo app -Create a `.env` file containing -```env -OIDC_CLIENT_ID= -OIDC_CLIENT_SECRET= -OIDC_ISSUER=https://auth.example.org -SIGNING_SECRET= -APP_BASE_URL=https://app.example.org -``` - -You can then run the app using -```bash -tsc && node --env-file=.env dist/index.js -``` -The app should be served via HTTPS on a reverse proxy. diff --git a/.gitignore b/node/.gitignore similarity index 100% rename from .gitignore rename to node/.gitignore diff --git a/LICENSE b/node/LICENSE similarity index 100% rename from LICENSE rename to node/LICENSE diff --git a/node/README.md b/node/README.md new file mode 100644 index 0000000..646e24b --- /dev/null +++ b/node/README.md @@ -0,0 +1,15 @@ +# Demo app +Create a `.env` file containing +```env +OIDC_CLIENT_ID= +OIDC_CLIENT_SECRET= +OIDC_ISSUER=https://auth.example.org +SIGNING_SECRET= +APP_BASE_URL=https://app.example.org +``` + +You can then run the app using +```bash +tsc && node --env-file=.env dist/index.js +``` +The app should be served via HTTPS on a reverse proxy. diff --git a/eslint.config.mjs b/node/eslint.config.mjs similarity index 100% rename from eslint.config.mjs rename to node/eslint.config.mjs diff --git a/package-lock.json b/node/package-lock.json similarity index 100% rename from package-lock.json rename to node/package-lock.json diff --git a/package.json b/node/package.json similarity index 100% rename from package.json rename to node/package.json diff --git a/setup.sh b/node/setup.sh similarity index 100% rename from setup.sh rename to node/setup.sh diff --git a/src/cors.ts b/node/src/cors.ts similarity index 100% rename from src/cors.ts rename to node/src/cors.ts diff --git a/src/index.ts b/node/src/index.ts similarity index 100% rename from src/index.ts rename to node/src/index.ts diff --git a/tsconfig.json b/node/tsconfig.json similarity index 100% rename from tsconfig.json rename to node/tsconfig.json