https://github.com/runreal/deno-monorepo-template
A Deno Monorepo Starter Kit
https://github.com/runreal/deno-monorepo-template
deno drizzle drizzle-orm honojs monorepo react tanstack-query tanstack-router trpc vitejs
Last synced: 28 days ago
JSON representation
A Deno Monorepo Starter Kit
- Host: GitHub
- URL: https://github.com/runreal/deno-monorepo-template
- Owner: runreal
- License: mit
- Created: 2025-01-08T15:34:21.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-04-16T17:06:44.000Z (about 1 month ago)
- Last Synced: 2025-04-24T03:09:31.059Z (28 days ago)
- Topics: deno, drizzle, drizzle-orm, honojs, monorepo, react, tanstack-query, tanstack-router, trpc, vitejs
- Language: TypeScript
- Homepage: https://www.runreal.dev
- Size: 336 KB
- Stars: 50
- Watchers: 3
- Forks: 4
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![]()
Deno Monorepo Starter Kit
An deno open-source starter kit made by Runreal.
Issues ·
What's included ·
Prerequisites ·
Getting Started
Fully type safe mono repo starter kit with Deno, React, Vite, Tanstack Router, Tanstack Query, Hono, Trpc, Drizzle, Supabase, and more.
## Directory Structure
```
.
├── apps # Apps
│ ├── api # Hono + Trpc
│ ├── supabase # Supabase
│ ├── spa # React + Vite + Tanstack Router + Tanstack Query + Trpc
│ └── ...
├── packages # Shared packages between apps
│ ├── lib # Simple lib
│ ├── auth # Auth: BetterAuth
│ ├── db # Database: Drizzle
│ └── ...
├── deno.jsonc # Deno Workspace configuration
├── LICENSE
└── README.md
```## Prerequisites
- [Deno](https://deno.land/)
## What's included
- [Drizzle](https://drizzle.team/)
- [Hono](https://hono.dev/)
- [Supabase](https://supabase.com/)
- [Tanstack Router](https://tanstack.com/router/latest)
- [Tanstack Query](https://tanstack.com/query/latest)
- [Trpc](https://trpc.io/)
- [BetterAuth](https://www.better-auth.com/)## Getting Started
1. Clone the repository
2. Install the dependencies
```shell
deno install --allow-scripts
```3. Launch the database
```shell
deno task supabase:start
```4. Run the migrations
```shell
deno task db:migrate
```5. Launch the api server
```shell
deno task dev:api
```6. Launch the frontend
```shell
deno task dev:web
```
7. Run the tests```shell
deno test --allow env
```## Todo
- [ ] Add tests with Vitest (Currently using Deno test)
- [X] Docker images for each app
- [ ] Add documentation website with Astro Starlight
- [ ] Add a NextJS app in the monorepo## Contributing
Feel free to contribute to this starter kit. If you have any questions, feel free to open an issue.