- TypeScript - For type safety and improved developer experience
- Next.js - Full-stack React framework
- React Native - Build mobile apps using React
- Expo - Tools for React Native development
- TailwindCSS - Utility-first CSS for rapid UI development
- shadcn/ui - Reusable UI components
- oRPC - End-to-end type-safe APIs with OpenAPI integration
- Drizzle - TypeScript-first ORM
- PostgreSQL - Database engine
- Authentication - Better-Auth
- Tauri - Build native desktop applications
- Turborepo - Optimized monorepo build system
First, install the dependencies:
bun installThis project uses PostgreSQL with Drizzle ORM.
-
Make sure you have a PostgreSQL database set up.
-
Update your
apps/web/.envfile with your PostgreSQL connection details. -
Apply the schema to your database:
bun run db:pushThen, run the development server:
bun run devOpen http://localhost:3001 in your browser to see your fullstack application. Use the Expo Go app to run the mobile application.
kompose/
├── apps/
│ └── web/ # Fullstack application (Next.js)
│ ├── native/ # Mobile application (React Native, Expo)
├── packages/
│ ├── api/ # API layer / business logic
│ ├── auth/ # Authentication configuration & logic
│ └── db/ # Database schema & queries
bun run dev: Start all applications in development modebun run build: Build all applicationsbun run check-types: Check TypeScript types across all appsbun run dev:native: Start the React Native/Expo development serverbun run db:push: Push schema changes to databasebun run db:studio: Open database studio UIcd apps/web && bun run desktop:dev: Start Tauri desktop app in developmentcd apps/web && bun run desktop:build: Build Tauri desktop app