
gittech. site
for different kinds of informations and explorations.
An open source Deno monorepo template
Published at
Jan 16, 2025
Main Article
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
What's included
Getting Started
Clone the repository
Install the dependencies
deno install --allow-scripts
- Launch the database
deno task supabase:start
- Run the migrations
deno task db:migrate
- Launch the api server
deno task dev:api
- Launch the frontend
deno task dev:web
- Run the tests
deno test --allow env
Todo
- Add tests with Vitest (Currently using Deno test)
- 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.