Lalabase
티켓·문서·근무시간·고객대화를 한 곳에 모아 KI로 검색, 소프트웨어 기업 고객 프로젝트용, 오픈소스로 자체 서버·독일 클라우드에 배포
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기메이커가 쓴 소개는 위의 한 줄이 전부입니다. 더 자세한 내용은 저장소 README에서 읽을 수 있습니다. 저장소 README ↗
README 전체를 불러오는 중입니다.
README 전문 보기 ↗A shared multi-tenant church management SaaS built with Node.js, Express,
PostgreSQL, and Prisma. One deployment serves many churches; every tenant-owned
record carries churchId, and database access is scoped centrally through
tenantDb(churchId).
SESSION_SECRETnpm install
cp .env.example .env
npx prisma generate
npx prisma db push
npm start
Set DATABASE_URL and SESSION_SECRET before starting the app. Open
http://localhost:3000; the public landing page lets a church create its own
tenant and first administrator.
lib/tenant.js exports:
db: raw Prisma client for genuine global concerns such as login and signuptenantDb(churchId): the application client used for tenant-owned dataThe tenant client injects churchId into supported reads and writes. Raw SQL is
checked separately:
npm run check:raw-sql-tenant-scoping
Every new route must include cross-tenant tests. Application scoping is the primary isolation boundary; do not query tenant models through the raw client without a documented reason.
npm test
npm run check:raw-sql-tenant-scoping
The integration suite uses the configured PostgreSQL database and starts temporary localhost HTTP servers. Use a dedicated non-production database.
Required:
| Variable | Purpose |
|---|---|
DATABASE_URL | PostgreSQL connection string |
SESSION_SECRET | Signs sessions; must remain stable across deployments |
NODE_ENV=production | Enables production cookie/security behavior |
PUBLIC_URL | Public origin used for check-in, RSVP, and email links |
Common optional configuration:
| Variable | Purpose |
|---|---|
PHOTO_DIR | Persistent member-photo directory |
ARKESEL_API_KEY / ARKESEL_SENDER | SMS delivery; empty key keeps dry-run mode |
SMTP_HOST / SMTP_USER / SMTP_PASS / SMTP_FROM | SMTP email delivery |
RESEND_API_KEY | Resend email delivery |
SUPPORT_EMAIL / ALERT_EMAIL / ALERT_WEBHOOK_URL | Support and monitoring |
The production app runs on Fly.io using fly.toml and Dockerfile.
flyctl secrets set DATABASE_URL='postgresql://...'
flyctl secrets set SESSION_SECRET="$(openssl rand -hex 32)"
flyctl deploy -a church-management-system
After deployment, verify:
curl -fsS https://church-management-system.fly.dev/healthz
curl -fsS https://church-management-system.fly.dev/readyz
./scripts/prod-sanity.sh https://church-management-system.fly.dev
See docs/RELEASE_CHECKLIST.md for the complete release and rollback process.
| Path | Purpose |
|---|---|
server.js | Postgres multi-tenant application bootstrap |
prisma/schema.prisma | PostgreSQL schema |
lib/tenant.js | Central Prisma tenant-scoping layer |
lib/tenant-http.js | Express application assembly |
routes-pg/ | JSON/action routes |
routes-pg-html/ | Server-rendered product routes |
test/ | RBAC, tenant-isolation, finance, and feature integration tests |
The older SQLite modules remain temporarily as rollback/reference material and must not be used for new production features.