No description
- TypeScript 90.3%
- Nix 6.6%
- CSS 1.7%
- JavaScript 1.2%
- Dockerfile 0.2%
|
|
||
|---|---|---|
| .forgejo/workflows | ||
| apps | ||
| nix | ||
| packages | ||
| .dockerignore | ||
| .gitignore | ||
| .npmrc | ||
| bts.jsonc | ||
| docker-compose.yml | ||
| Dockerfile | ||
| flake.lock | ||
| flake.nix | ||
| idées.md | ||
| package.json | ||
| pnpm-lock.yaml | ||
| pnpm-workspace.yaml | ||
| README.md | ||
| tsconfig.json | ||
| turbo.json | ||
musicAll
This project was created with Better-T-Stack, a modern TypeScript stack that combines React, TanStack Start, Self, ORPC, and more.
Features
- TypeScript - For type safety and improved developer experience
- TanStack Start - SSR framework with TanStack Router
- 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
- Prisma - TypeScript-first ORM
- PostgreSQL - Database engine
- Authentication - Better-Auth
- Turborepo - Optimized monorepo build system
Getting Started
First, install the dependencies:
pnpm install
Database Setup
This project uses PostgreSQL with Prisma.
-
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:
pnpm run db:push
Then, run the development server:
pnpm run dev
Open http://localhost:3001 in your browser to see the fullstack application. Use the Expo Go app to run the mobile application.
Project Structure
musicAll/
├── apps/
│ └── web/ # Fullstack application (React + TanStack Start)
│ ├── native/ # Mobile application (React Native, Expo)
├── packages/
│ ├── api/ # API layer / business logic
│ ├── auth/ # Authentication configuration & logic
│ └── db/ # Database schema & queries
Available Scripts
pnpm run dev: Start all applications in development modepnpm run build: Build all applicationspnpm run check-types: Check TypeScript types across all appspnpm run dev:native: Start the React Native/Expo development serverpnpm run db:push: Push schema changes to databasepnpm run db:generate: Generate database client/typespnpm run db:migrate: Run database migrationspnpm run db:studio: Open database studio UI