Skip to content

openthreadsdev/threadmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Threadmark

Netlify Status

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.

Project Structure

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

Prerequisites

  • Node.js >= 18
  • npm 11.1.0 (specified in packageManager)

Getting Started

  1. Clone the repository:

    git clone <repository-url>
    cd threadmark
  2. Install dependencies:

    npm install
  3. Set up environment variables:

    cp .env.example .env
    # Edit .env with your configuration
  4. Start development:

    npm run dev

Available Scripts

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

Apps

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.

Packages

Database (packages/db)

Shared database schemas, migrations, and ORM configuration.

Common utilities, types, and constants used across apps.

Deployment

Landing Pages

The landing site is automatically deployed to Netlify on every push to the main branch. Build configuration is managed in netlify.toml.

Other Apps

Deployment instructions for other apps are documented in their respective directories.

Documentation

Contributing

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"

License

Private project - all rights reserved.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •