Skip to content

Latest commit

 

History

24 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JST — architecture-first React starter

CI status Node.js 22.22 React 19 MIT license

JST

An architecture-first React starter for products that need server rendering, explicit dependency boundaries, typed data flow, and enforceable quality gates from the first commit.

Quick start

Create a project with the official initializer:

npm create jst@latest my-app
cd my-app
npm run dev

The initializer configures the project, installs dependencies, and starts from the clean application shell.

Showcase

The full architecture walkthrough and working API/persistence flows live in the independent JST Showcase, pinned here as the showcase Git submodule. Generated applications do not include it.

Included

  • React 19 and React Router framework-mode SSR
  • TypeScript, Vite, and filesystem route discovery
  • Dependency injection with request-scoped composition and auto-discovered providers
  • A documented path for repository, DTO validation, mapper, service, view-model, entry, and props-driven view boundaries
  • CSS Modules, Stylelint, SVG sprites, Vitest, Playwright, Axe, ESLint boundaries, React Doctor, Knip, Husky, and lint-staged

Architecture

app → pages → widgets → features → entities → shared

Dependencies point toward stable policy. Pages compose the application, features own user outcomes, entities own domain behavior and I/O contracts, and shared contains product-agnostic infrastructure only.

Read Architecture before adding a non-trivial vertical slice. Coding agents should follow the repository architecture skill.

Commands

Command Purpose
npm run dev Start the SSR development server
npm run build Type-check and create production client/server builds
npm run test:unit Run unit and integration tests once
npm run test:e2e Run browser contracts and accessibility checks
npm run lint Check code, styles, and architecture boundaries
npm run doctor Diagnose React correctness and maintainability issues
npm run check Run the complete local CI gate
npm run create:slice -- entity account Create a canonical entity, feature, or widget slice
npm run template:setup Configure the new product

Project policy

Maintained by @antonbelous0v.

Releases

Packages

Contributors

Languages