Skip to content

alloc/nativ-template

Repository files navigation

My Nativ App

A React Native app built with Nativ, Expo, and modern tooling.

Project Structure

├── assets/           # Fonts, icons, images, sounds
├── src/
│   ├── app/          # Expo Router pages
│   ├── core/         # Core application files
│   │   ├── theme.ts  # Restyle theme
│   │   └── ui.ts     # UI primitives
│   └── db/           # Drizzle ORM setup
├── app.config.ts     # Expo configuration
├── drizzle.config.ts # Database configuration
└── tsconfig.json     # TypeScript configuration

Customization

Theme

Edit src/core/theme.ts to customize colors, spacing, and typography.

// Import the theme type:
import type { Theme } from '~/theme'

UI Components

UI primitives are exported from src/core/ui.ts using the nativ library.

// Import UI primitives:
import { Button, View, Text } from '~/ui'

Database

  • Schema: ~/db/schema
  • Client: ~/db/client
  • Migrations: ~/db/migrations

Assets

  • Icons: Add to assets/icons/
  • Images: Add to assets/images/
  • Fonts: Add to assets/fonts/ and app.config.ts

Learn More

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published