# recipes/backend

The boot pattern to copy: a twelve-line boot file and a folder of modules, one holding a document, one the rules, one a scheduler, one the gate, and one configuring a battery module.

This file is the whole boot. Everything this application does is a module in ./modules: the documents it holds, the rules it keeps, the jobs it runs, and who may reach what.

```sh
node recipes/backend/main.ts
```

## Files

- [`checks.ts`](/docs/recipes/backend/files/checks.ts)
- [`main.ts`](/docs/recipes/backend/files/main.ts)
- [`modules/app/Board.ts`](/docs/recipes/backend/files/modules/app/Board.ts)
- [`modules/app/Digest.ts`](/docs/recipes/backend/files/modules/app/Digest.ts)
- [`modules/app/Gate.ts`](/docs/recipes/backend/files/modules/app/Gate.ts)
- [`modules/app/Log.ts`](/docs/recipes/backend/files/modules/app/Log.ts)
- [`modules/app/Rules.ts`](/docs/recipes/backend/files/modules/app/Rules.ts)
- [`modules/app/Wipe.ts`](/docs/recipes/backend/files/modules/app/Wipe.ts)
- [`modules/auth/Session.ts`](/docs/recipes/backend/files/modules/auth/Session.ts)
