aboutsummaryrefslogtreecommitdiffstats
path: root/docs/versioned_docs/version-v0.15.0/07-Development/02-directories.md
blob: 54552402153858e4435e1f21801839b2f6640739 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Directory Structure

## Apps

| Directory                | Description                                            |
| ------------------------ | ------------------------------------------------------ |
| `apps/web`               | The main web app                                       |
| `apps/workers`           | The background workers logic                           |
| `apps/mobile`            | The react native based mobile app                      |
| `apps/browser-extension` | The browser extension                                  |
| `apps/landing`           | The landing page of [hoarder.app](https://hoarder.app) |

## Shared Packages

| Directory         | Description                                                                  |
| ----------------- | ---------------------------------------------------------------------------- |
| `packages/db`     | The database schema and migrations                                           |
| `packages/trpc`   | Where most of the business logic lies built as TRPC routes                   |
| `packages/shared` | Some shared code between the different apps (e.g. loggers, configs, assetdb) |

## Toolings

| Directory            | Description             |
| -------------------- | ----------------------- |
| `tooling/typescript` | The shared tsconfigs    |
| `tooling/eslint`     | ESlint configs          |
| `tooling/prettier`   | Prettier configs        |
| `tooling/tailwind`   | Shared tailwind configs |