Threadmark is a compliance platform designed to help e-commerce businesses manage audit trails, exports, and regulatory requirements. This monorepo includes landing pages for lead generation and the core application infrastructure.
This is a monorepo managed with Turborepo and npm workspaces.
threadmark/
├── apps/
│ ├── landing/ # Astro static site for landing pages (Netlify)
│ ├── api/ # API server
│ ├── shopify-admin/ # Shopify admin integration
│ └── worker/ # Background worker
├── packages/
│ ├── db/ # Database schemas and migrations
│ └── shared/ # Shared utilities and types
└── docs/ # Documentation
- Node.js >= 18
- npm 11.1.0 (specified in
packageManager)
-
Clone the repository:
git clone <repository-url> cd threadmark
-
Install dependencies:
npm install
-
Set up environment variables:
cp .env.example .env # Edit .env with your configuration -
Start development:
npm run dev
| Command | Description |
|---|---|
npm run dev |
Start all apps in development mode |
npm run build |
Build all apps for production |
npm run lint |
Run linting across all packages |
npm run test |
Run tests across all packages |
npm run typecheck |
Type-check all TypeScript code |
npm run clean |
Clean build artifacts |
npm run format |
Format code with Prettier |
npm run format:check |
Check code formatting |
Landing Pages (apps/landing)
- Tech: Astro (static site generation)
- Deployment: Netlify
- Purpose: Lead generation with dual-audience approach (EU merchants & mid-market brands)
- Features: Waitlist forms, calendar booking integration, responsive design
- PRD: PRD.landing.json
See the landing app README for detailed setup and deployment instructions.
API (apps/api)
Backend API server for the Threadmark platform.
Shopify Admin (apps/shopify-admin)
Shopify admin panel integration.
Worker (apps/worker)
Background job processing.
Database (packages/db)
Shared database schemas, migrations, and ORM configuration.
Shared (packages/shared)
Common utilities, types, and constants used across apps.
The landing site is automatically deployed to Netlify on every push to the main branch. Build configuration is managed in netlify.toml.
Deployment instructions for other apps are documented in their respective directories.
- Main Product PRD - Core product requirements
- Landing Pages PRD - Landing page strategy and requirements
- Progress Tracker - Landing page implementation progress
This project follows Conventional Commits format. Use prefixes like feat:, fix:, refactor:, chore:, docs:, test:, etc.
# Format your commits like this:
git commit -m "feat: add new waitlist form validation"
git commit -m "fix: correct responsive layout on mobile"Private project - all rights reserved.