Skip to content
Merged
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
6 changes: 3 additions & 3 deletions .env.demo
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ NATS_URL=nats://your-ip:4222
REDIS_HOST=your-ip
REDIS_PORT=6379

SENDGRID_API_KEY=
SENDGRID_API_KEY=

WALLET_STORAGE_HOST=your-ip
WALLET_STORAGE_PORT=5432
Expand Down Expand Up @@ -76,15 +76,15 @@ AWS_ORG_LOGO_BUCKET_NAME=
# Required (As connecting to org requires Shortened url)
AWS_S3_STOREOBJECT_ACCESS_KEY=
AWS_S3_STOREOBJECT_SECRET_KEY=
AWS_S3_STOREOBJECT_REGION=
AWS_S3_STOREOBJECT_REGION=
AWS_S3_STOREOBJECT_BUCKET=

# Please refere AWS to determine your bucket url
# https://docs.aws.amazon.com/AmazonS3/latest/userguide/VirtualHosting.html#path-style-access
SHORTENED_URL_DOMAIN='https://AWS_S3_STOREOBJECT_REGION.amazonaws.com/AWS_S3_STOREOBJECT_BUCKET'
DEEPLINK_DOMAIN='https://link.credebl.id?url='

ENABLE_CORS_IP_LIST=http://localhost:3000, http://localhost:3001, http://localhost:5000,http://localhost:8085,https://verify.credebl.id,https://verifyed.credebl.id,https://verify-api.credebl.id,https://qa.credebl.id,https://dev.credebl.id,https://credebl.id
ENABLE_CORS_IP_LIST=http://localhost:3000,http://localhost:3001,http://localhost:5000,http://localhost:8085

USER_NKEY_SEED=
API_GATEWAY_NKEY_SEED=
Expand Down
44 changes: 0 additions & 44 deletions .github/ISSUE_TEMPLATE/FEATURE-REQUEST.md

This file was deleted.

73 changes: 73 additions & 0 deletions .github/ISSUE_TEMPLATE/FEATURE-REQUEST.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
name: "\U0001F680 Feature Request - new"
title: "feat: "
description: Suggest an idea or enhancement for CREDEBL platform
labels: [enhancement, triage]
body:
- type: markdown
attributes:
value: |
## Reporting a feature request/enhancement to CREDEBL

Thank you for taking time to create a feature request for CREDEBL, your contribution will help
make the product better for everyone.

Make sure your issue has a generous description that will help others understand and fix it at earliest.

- type: checkboxes
id: preliminary-checks
attributes:
label: "✅ Preliminary Checks"
description: "Please confirm the following before submitting."
options:
- label: "I've read the [contibution guide](https://docs.credebl.id/docs/contribute/how-to-contribute) and agree to it"
required: true
- label: "I have searched [existing issues](https://github.com/credebl/platform/issues) and [pull requests](https://github.com/credebl/platform/pulls) to avoid duplicates."
required: true
- label: "I'm willing to create a PR for this feature. (if applicable)."

- type: textarea
id: problem-statement
attributes:
label: "🧩 Problem Statement"
description: "Is your feature request related to a problem? Please describe it clearly."
placeholder: "Ex: I'm always frustrated when [...]"
validations:
required: true

- type: textarea
id: proposed-solution
attributes:
label: "💡 Proposed Solution"
description: "A clear and concise description of what you want to happen."
placeholder: "Ex: It would be great if [...]"
validations:
required: true

- type: textarea
id: alternatives-considered
attributes:
label: "🔄 Alternatives Considered"
description: "Have you considered any alternative solutions or features?"
placeholder: "Ex: I also thought about [...], but [...]"
validations:
required: false

- type: textarea
id: additional-context
attributes:
label: "📎 Additional Context"
description: "Add any other context, references, mockups, or screenshots here."
validations:
required: false

- type: textarea
id: acceptance-criteria
attributes:
label: "✅ Acceptance Criteria"
description: "List specific tasks or outcomes that define when this request is complete."
placeholder: |
- A new endpoint `/v1/...` is added
- Docs updated
- Tests written and passing
validations:
required: false
58 changes: 0 additions & 58 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

90 changes: 90 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
name: "🐛 Bug Report"
description: Report a bug or unexpected behavior in the project
labels: [bug]
title: "fix: "
body:
- type: markdown
attributes:
value: |
## Reporting a bug on CREDEBL

Thank you for taking time to report the bug on CREDEBL, your contribution will help
make the product better for everyone.

Make sure your issue has a generous description that will help others understand and fix it at earliest.
- type: checkboxes
id: agreement
attributes:
label: Preliminary Checks
options:
- label: I have read the contributions guide [contibution guide](https://docs.credebl.id/docs/contribute/how-to-contribute) and agree to it
required: true
- label: I have searched [existing issues](https://github.com/credebl/platform/issues) and [pull requests](https://github.com/credebl/platform/pulls) to avoid duplicates.
required: true
- label: "I'm willing to create a PR for this feature. (if applicable)."
- type: textarea
id: steps-to-reproduce
attributes:
label: "🧪 Steps to Reproduce"
description: "Provide clear steps to reproduce the bug."
placeholder: |
1. Go to '...'
2. Click on '...'
3. Scroll down to '...'
4. See error
validations:
required: true

- type: textarea
id: expected-behavior
attributes:
label: "✅ Expected Behavior"
description: "What did you expect to happen?"
placeholder: |
Ex: After clicking 'Submit', I expected a confirmation modal to appear.
validations:
required: true

- type: textarea
id: current-behavior
attributes:
label: "❌ Current Behavior"
description: "What is currently happening instead?"
placeholder: |
Ex: The page crashed with a 500 error when clicking 'Submit'.
validations:
required: true

- type: input
id: affected-version
attributes:
label: "📌 Affected Version/Commit"
description: "Version number, branch name, or commit hash where the bug occurs."
placeholder: "e.g., v1.2.3, main, 4f3e2d1"
validations:
required: false

- type: checkboxes
id: environment
attributes:
label: "💻 Environment"
description: "Where did the issue occur?"
options:
- label: "Local development"
- label: "Production"
- label: "CI/CD"
- label: "Other"

- type: textarea
id: logs-and-screenshots
attributes:
label: "🧾 Relevant Logs, Screenshots, or Stack Traces"
description: "Paste any error messages or screenshots that can help diagnose the issue."
placeholder: |
Please include:
- Error logs
- Screenshots
- Console output
- Stack traces
validations:
required: false
11 changes: 5 additions & 6 deletions Dockerfiles/Dockerfile.cloud-wallet
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
# Stage 1: Build the application
FROM node:18-slim as build
FROM node:18-alpine AS build
# Install OpenSSL
RUN apk add --no-cache openssl
RUN npm install -g pnpm

RUN apt-get update -y
RUN apt-get --no-install-recommends install -y openssl
# Set the working directory
WORKDIR /app

Expand All @@ -25,10 +24,10 @@ RUN cd libs/prisma-service && npx prisma generate
RUN pnpm run build cloud-wallet

# Stage 2: Create the final image
FROM node:18-slim
FROM node:18-alpine

RUN apk add --no-cache openssl

RUN apt-get update -y
RUN apt-get --no-install-recommends install -y openssl
# Set the working directory
WORKDIR /app
# RUN npm install -g pnpm
Expand Down
8 changes: 5 additions & 3 deletions Dockerfiles/Dockerfile.seed
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
FROM node:18 as build
FROM node:18-alpine

# Install pnpm
RUN npm install -g pnpm

# Install PostgreSQL client (use apt for Debian-based images)
RUN apt-get update && apt-get install -y postgresql-client
RUN apk add --no-cache postgresql-client openssl

# Set working directory
WORKDIR /app

COPY . .
RUN chmod +x /app/libs/prisma-service/prisma/scripts/geo_location_data_import.sh
RUN chmod +x /app/libs/prisma-service/prisma/scripts/update_client_credential_data.sh

ENV PUPPETEER_SKIP_DOWNLOAD=true
RUN pnpm i --ignore-scripts

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion

Add lockfile before install The Dockerfile runs pnpm i but never copies pnpm-lock.yaml. Include it alongside package.json for deterministic builds:

COPY pnpm-lock.yaml* package.json ./
🤖 Prompt for AI Agents
In Dockerfiles/Dockerfile.seed at line 17, the Dockerfile runs `pnpm i` without
copying the `pnpm-lock.yaml` file, which can cause non-deterministic builds. Fix
this by modifying the COPY instruction to include `pnpm-lock.yaml` alongside
`package.json`, for example: `COPY pnpm-lock.yaml* package.json ./`.

# Run Prisma commands
Expand Down
Loading