Kai 판매

TypeScript Express API for multi-tenant organization management with built-in authentication, workspace isolation, role-based memberships, and invitation workflows. Features JWT-based auth, SQLite persistence, and 26 fully tested endpoints covering user registration, organization CRUD, workspace management, and member invitations. Perfect for SaaS platforms needing workspace-scoped data separation and team collaboration features.
A production-ready TypeScript/Express backend API for multi-tenant organization management with workspace support. Implements complete authentication, role-based access control, and invitation workflows. All 26 endpoints fully tested and passing.
npm install
npm run build
| Variable | Description | Default |
|---|---|---|
PORT | Server port | 9020 |
JWT_SECRET | JWT signing secret | dev-secret-change-in-production |
Production:
npm start
Development:
npm run dev
Server runs on port 9020 by default.
GET /api/health — API status and timestampPOST /api/auth/register — Register new userPOST /api/auth/login — Login with credentialsGET /api/auth/me — Get current user profilePOST /api/organizations — Create organizationGET /api/organizations — List user's organizationsGET /api/organizations/:orgId — Get organization detailsPATCH /api/organizations/:orgId — Update organizationDELETE /api/organizations/:orgId — Delete organizationPOST /api/organizations/:orgId/workspaces — Create workspaceGET /api/organizations/:orgId/workspaces — List workspacesPATCH /api/organizations/:orgId/workspaces/:workspaceId — Update workspaceDELETE /api/organizations/:orgId/workspaces/:workspaceId — Delete workspaceGET /api/organizations/:orgId/memberships — List organization membersPOST /api/organizations/:orgId/memberships — Add memberPATCH /api/organizations/:orgId/memberships/:membershipId — Update member roleDELETE /api/organizations/:orgId/memberships/:membershipId — Remove memberGET /api/invitations — List user's invitationsPOST /api/invitations — Send invitationPOST /api/invitations/:token/accept — Accept invitationDELETE /api/invitations/:invitationId — Revoke invitationAll responses follow a consistent structure:
{ data: {...} }{ error: "..." }Authentication uses Authorization: Bearer <token> header.
All 26 endpoints tested and passing (see TEST_RESULTS.md for full coverage).
격리된 샌드박스를 띄워 서버에서 바로 실행하세요 — 로컬 설정 불필요.
샌드박스 검증이 완료되었으며 감지된 실행 경로가 통과했습니다.
This Express backend / api completed archive review with strong static results. Structure, dependency manifests, documentation, functional source, and common risk patterns were checked by the Tetrees verification pipeline; runtime phases are stated separately.
Deterministic AVCP artifact review
파이프라인 avcp-2026-08-04.1 · SHA-256 b7f35dbe06d753d9…
This version-scoped review deterministically inspects the submitted archive for structure, dependencies, documentation, functional source, and common malicious or high-risk signals. Build and test phases are reported as passed only after an isolated sandbox audition. It is not a guarantee of perfect security.
검토일 2026년 8월 4일
전체 설치 가이드와 연동 프롬프트는 구매 후 열람할 수 있습니다.
이 제품을 AI IDE, 웹 빌더 또는 클라우드 IDE로 바로 가져오세요.
Tetrees를 호환 AI IDE에 연결해 보유 제품을 불러오고, 판매자 업로드 권한을 노출하지 않은 채 검증된 ZIP을 받으세요.
리뷰 10개
Dropped it into my stack and it just worked. Components are cleanly separated and easy to extend, and examples matched the actual API, which is rare.
Saved me a ton of time. Picked up "Multitenancy(Organization/Workspace) Backend Module" for a client workflow — No spaghetti — the folder layout is sane.
This is a keeper. As someone who automates these all day, handles the edge cases I usually have to patch myself. No regrets.
Clean and well thought out. Picked up this automation setup for a client workflow — Handles the edge cases I usually have to patch myself. Docking half a star only because I wanted a couple more examples.
Exactly what I needed. Dropped "Multitenancy(Organization/Workspace) Backend Module" straight into the workflow; docs were clear enough that I never had to open an issue. Five stars, would recommend to my team.
Great starting point. Picked up this automation setup for a client workflow — Handles the edge cases I usually have to patch myself.
Punches well above its price. Used "Multitenancy(Organization/Workspace) Backend Module" to automate my workflow and it cut days off the build.
Exactly what I needed. As someone who automates these all day, the abstractions are sensible and easy to swap out.
Saved me a ton of time. Picked up this automation setup for a client workflow — Zero mystery dependencies, everything is documented.
Better than I expected. Used this automation setup to automate my workflow and it cut days off the build.
토론을 불러오는 중…