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
66 changes: 66 additions & 0 deletions javascript/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# Dependencies
node_modules
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Build outputs
dist
build
public/bundle*.js
public/bundle*.js.map
.angular
*.tsbuildinfo

# Environment and secrets
# .env
# .env.local
# .env.*.local

# Logs
logs
*.log

# Test coverage
coverage
.nyc_output

# Editor directories
.vscode
.idea
*.swp
*.swo
*~

# OS files
.DS_Store
Thumbs.db

# Git
.git
.gitignore

# Docker
Dockerfile*
docker-compose*.yml
.dockerignore

# Documentation
*.md
!README.md

# Test files
e2e
*.spec.ts
*.spec.js
test
tests

# PouchDB databases
todos
users

# Misc
.cache
tmp
temp
38 changes: 38 additions & 0 deletions javascript/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Docker Environment Configuration
# Copy this file to .env and configure for your environment
# Docker Compose will automatically load this file

# ============================================================
# Todo API Configuration
# ============================================================
PORT=9443
NODE_ENV=production

# PingOne Advanced Identity Cloud / PingAM Configuration
AM_URL=https://your-instance.forgeblocks.com/am
REALM_PATH=/alpha
WEB_OAUTH_CLIENT=your-oauth-client-id
DEBUGGER_OFF=false

# ============================================================
# Frontend App Build Configuration
# ============================================================
# These variables are baked into frontend builds at build time
# If using .env for individual apps, place them in each app directory
# Example: reactjs-todo/.env, angular-todo/.env, etc.

# For PingOne AIC/AM apps:
# SERVER_URL=https://your-instance.forgeblocks.com/am
# REALM_PATH=/alpha
# WEB_OAUTH_CLIENT=your-oauth-client-id
# JOURNEY_LOGIN=Login
# JOURNEY_REGISTER=Registration
# DEBUGGER_OFF=false
# APP_URL=https://localhost:8443
# API_URL=http://localhost:9443

# For PingOne DaVinci apps:
# VITE_DAVINCI_URL=https://auth.pingone.com/<environment-id>/davinci/v1
# VITE_COMPANY_ID=your-company-id
# VITE_API_KEY=your-api-key
# VITE_POLICY_ID=your-policy-id
Loading
Loading