# Iwosan
Iwosan is a TanStack Start and React application for African medical knowledge, practitioners, events, marketplace content, and community resources.
## Development
```bash
npm install
npm run dev
```
The development server is configured in `vite.config.ts` to use `
127.0.0.1`.
## Project Structure
- `src/routes`: file-based routes. Each file maps to a page URL.
- `src/components/layout`: global layout components such as navigation, footer, and route progress.
- `src/components/shared`: reusable product, practitioner, article, plant, event, and section components.
- `src/components/ui`: low-level UI primitives built on Radix UI and local styling utilities.
- `src/data`: editable static content used by the pages.
- `src/i18n`: language provider and dictionaries.
- `src/lib`: framework helpers, error handling, and shared utilities.
- `src/types`: shared TypeScript models for content and components.
## Common Changes
- Edit page content and composition in `src/routes`.
- Edit cards and repeated sections in `src/components/shared`.
- Edit navigation links in `src/components/layout/Navbar.tsx`.
- Edit footer links in `src/components/layout/Footer.tsx`.
- Edit product, plant, article, event, and professional data in `src/data`.
- Edit colors, spacing, and theme tokens in `src/styles.css`.
## Build
```bash
npm run build
npm run preview
```
`src/routeTree.gen.ts` is generated by TanStack Router. Do not edit it manually.