The recipes.blue monorepo recipes.blue
recipes appview atproto
at main 51 lines 1.5 kB view raw view rendered
1<h3 align="center">Cookware</h3> 2<p align="center">A recipe manager app built on the <a href="https://atproto.com">AT Protocol</a>.</p> 3<p align="center"> 4<a href="https://github.com/hbjydev/cookware/blob/main/LICENSE"><img alt="GitHub License" src="https://img.shields.io/github/license/hbjydev/cookware?style=flat-square"></a> 5<a href="https://github.com/hbjydev/cookware/issues"><img alt="GitHub Issues or Pull Requests" src="https://img.shields.io/github/issues/hbjydev/cookware?style=flat-square"></a> 6<a href="https://github.com/hbjydev/cookware/actions"><img alt="GitHub branch status" src="https://img.shields.io/github/checks-status/hbjydev/cookware/main?style=flat-square"></a> 7</p> 8 9--- 10 11## Requirements 12 13- [Bun](https://bun.sh) 1.3.3+ 14- Docker & Docker Compose (for local dev) 15 16## Services 17 18- [`api`](./apps/api): Bun server running the XRPC API 19- [`ingester`](./apps/ingester): Ingests ATProto records from Jetstream 20- [`web`](./apps/web): React SPA frontend 21- `libsql`: LibSQL database server 22 23## Development 24 251. Copy `.env.example` to `.env`: 26 ```bash 27 cp .env.example .env 28 ``` 29 302. Start LibSQL: 31 ```bash 32 docker compose up -d libsql 33 ``` 34 353. Run migrations: 36 ```bash 37 bun run db:generate # generate migration files 38 bun run db:migrate # apply to database 39 ``` 40 414. Start services: 42 ```bash 43 bun run dev # starts all services in dev mode 44 ``` 45 46## Production 47 48Build and run with Docker: 49```bash 50docker compose up -d 51```