Skip to content
Base kit

Blank kit

The config files and nothing else: no platform, no React, no server.

For: Anyone who wants to choose every platform and package themselves, one kitr add at a time.

kitr new my-app --kit blank

First time? Run npm i -g @kitr/kitr once. Inside a project, the global kitr runs your project's own version.

kitr add web site
A web platform with React, the router and a dev server
kitr add server api
An API server, with no React
kitr doctor
Checks the wiring after each change

Only the wiring

package.json, tsconfig.json, an empty kitrrc.ts and the ignore files.

Rules for your agent

AGENTS.md starts with the conventions, and every kitr add appends its own.

Grows with kitr add

kitr add web site brings a UI, kitr add server api a backend, each with its files and scripts.

What's inside

Read from the kit's output in the kitr repository, so it matches what kitr new writes today. 8 files.

Platforms
none
Packages
None yet. Add each with kitr add.

Every file it writes

Start with kitrrc.ts. Pick any file to read it.

Source
kitrrc.ts
import { defineKitrConfig } from '@kitr/kitr/app'

/**
 * Explicit wiring, the Adonis way: every provider is listed here as a lazy import and every
 * platform by name. `kitr add`, `kitr remove` and `kitr config` edit this file; so can you.
 */
export default defineKitrConfig({
  packages: [],
  providers: [],
  platforms: {},
  directories: {
    app: 'app',
    config: 'config',
    components: 'app/components',
    server: 'server',
    platforms: 'platforms',
  },
})

Other kits

All kits →