Skip to content

tontile/tonner

Repository files navigation

We are under heavy development.

What's included

Next.js - Framework
Turborepo - Build system
Biome - Linter, formatter
Sherif - Linter for monorepos
TailwindCSS - Styling
Shadcn - UI components
TypeScript - Type safety
Supabase - Authentication, database, storage
i18n - Internationalization
react-safe-action - Validated Server Actions
nuqs - Type-safe search params state manager
next-themes - Theme manager

Directory Structure

.
├── apps                         # Apps workspace
│    ├── api                     # Supabase (API, Auth, Storage, Realtime, Edge Functions)
│    ├── studio                  # tonner dashboard
│    ├── web                     # Marketing site
│    └── ...
├── packages                     # Shared packages between apps
│    ├── logger                  # Logger library
│    ├── supabase                # Supabase - Queries, Mutations, Clients
│    └── ui                      # Shared UI components (Shadcn)
├── tooling                      # are the shared configuration that are used by the apps and packages
│    └── typescript              # Shared TypeScript configuration
├── .cursorrules                 # Cursor rules specific to tonner project
├── biome.json                   # Biome configuration
├── turbo.json                   # Turbo configuration
├── LICENSE
└── README.md

Prerequisites

Bun
Docker
Supabase

Getting Started

Clone this repo locally with the following command:

git clone https://github.com/tontile/tonner

Install dependecies with the following command:

bun install

Start the development server from either bun or turbo:

bun dev // starts everything in development mode (web, studio, api, email)
bun dev:web // starts the web app in development mode
bun dev:studio // starts the studio in development mode
bun dev:api // starts the api in development mode

// Database
bun migrate // run migrations
bun seed // run seed