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
37 changes: 37 additions & 0 deletions .github/workflows/feature-request-board.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Feature Request Board checks

on:
pull_request:
paths:
- 'applications/feature-request-board/**'
- '.github/workflows/feature-request-board.yml'
push:
branches: [main]
paths:
- 'applications/feature-request-board/**'
- '.github/workflows/feature-request-board.yml'
workflow_dispatch:

permissions:
contents: read

jobs:
check:
runs-on: ubuntu-latest
defaults:
run:
working-directory: applications/feature-request-board
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: 24.21.0
cache: npm
cache-dependency-path: applications/feature-request-board/package-lock.json
- run: npm ci --ignore-scripts
- run: npm run db:generate
- run: npm test
- run: npm run typecheck
- run: npm run build

# Live database and Clerk browser checks require explicit development resources.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ ClickHouse ships official client libraries for [C# / .NET](https://clickhouse.co
[ClickPipes](https://clickhouse.com/cloud/clickpipes) provides managed ingestion into the ClickHouse analytical database service within ClickHouse Cloud, including Postgres change data capture (CDC), streaming sources, and object storage.

- [Shortwave link shortener](./applications/shortwave/README.md): Build and deploy a link shortener using ClickHouse Managed Postgres for application data, ClickPipes for metadata sync, and ClickHouse for click analytics.
- [Feature Request Board](./applications/feature-request-board/README.md): Build a Next.js and Prisma board with Clerk sign-in, request ownership, and one vote per user on ClickHouse Managed Postgres.
- [Workshop Booking API](./applications/workshop-booking/README.md): Build a FastAPI and SQLAlchemy application on ClickHouse Managed Postgres with transactional seat allocation, cancellation, and safe retries.
- [Postgres-to-ClickHouse data modeling](./postgresql-clickhouse-data-modeling/README.md): Replicate a tiny fixture from PostgreSQL to ClickHouse with PeerDB, then verify inserts, updates, and deletes. Follow the separate ClickHouse Managed Postgres and ClickPipes walkthrough for ClickHouse Cloud; a larger Stack Overflow import is optional.

Expand Down Expand Up @@ -112,6 +113,7 @@ Browse [all local analytics examples](./local-analytics/README.md) for more file

| Directory | What you'll find |
| --- | --- |
| [applications](./applications/) | Application examples: a link shortener, feature request board, report results, and run history with ClickHouse Cloud. |
| [applications](./applications/) | Application examples: workshop bookings, a link shortener, report results, and run history with ClickHouse Cloud. |
| [ai](./ai/README.md) | AI agents, MCP integrations, and workflows using `clickhousectl`. |
| [blog-examples](./blog-examples/) | Code and resources accompanying the [ClickHouse Blog](https://clickhouse.com/blog). |
Expand Down
11 changes: 11 additions & 0 deletions applications/feature-request-board/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Runtime uses the least-privilege role. Use a plain URL, with no query parameters.
DATABASE_URL="postgresql://feature_board_app:REPLACE@HOST:5432/postgres"
# Download the managed service CA. Paths are relative to the app working directory.
DATABASE_CA_PATH=".deployment/postgres-ca.pem"
# Migration credentials belong in .deployment/migration.env; see README.
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY="pk_test_REPLACE"
CLERK_SECRET_KEY="sk_test_REPLACE"
NEXT_PUBLIC_CLERK_SIGN_IN_URL="/sign-in"
NEXT_PUBLIC_CLERK_SIGN_UP_URL="/sign-up"
# Exact Clerk user IDs; an empty list means nobody can change request status.
MAINTAINER_USER_IDS=""
18 changes: 18 additions & 0 deletions applications/feature-request-board/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
node_modules/
.next/
.env
.env.*
!.env.example
*.pem
*.crt
*.key
*.log
*.tsbuildinfo
src/generated/
.secrets/
.deployment/
.clickhouse/
playwright/.auth/
test-results/
playwright-report/
.DS_Store
Loading