# Code root

URL: /code/project-structure/code-root · Id: `convention:code-root`

> The code folder holds custom Implementations written as programs; it is always git-first, and each push imports as a Change into db.sb.

The code folder holds custom [Implementations](/business/nouns/implementation) written as programs; it is always git-first, and each push imports as a [Change](/business/nouns/change) into [db.sb](/code/platform/db-sb).

| Property | Value |
| --- | --- |
| Path | `code/[program]/` |
| Holds | [Implementation](/business/nouns/implementation) |
| Kind | folder |
| Leaders | git-first |
| Team | [Engineering Team](/agents/engineering) |
| Written by | [Change.merge](/business/nouns/change/merge) |
| Compiled by | [SoftwareBuilder](/code/builders/software) |

### Example
`code/bank-feed/index.ts` in a Startup repository. Closewise, a sample business, declares a `Close` Noun.

```ts title="code/bank-feed/index.ts"
export default {
  async fetch(request: Request, env: Env, $: $) {
    const form = await request.formData()
    await $.Close.reconcile({ close: String(form.get('close_id')), through: String(form.get('through')) })
    return new Response(null, { status: 204 })
  },
}
```

### Generates
[SoftwareBuilder](/code/builders/software) compiles it into these records, Verbs and routes.

| Kind | What |
| --- | --- |
| Records | [Implementation](/business/nouns/implementation) |
| Verbs | None. |
| Routes | None. |