
arpan-jo/daily_star_hr
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
PeopleDeskは、TypeScript、MobX-State-Tree(MST)、React Native Paperを使用して、エンタープライズレベルのモバイルアプリケーションをブートストラップしています.
概要
PeopleDeskは、TypeScript、MobX-State-Tree(MST)、React Native Paperを使用して、エンタープライズレベルのモバイルアプリケーションをブートストラップしています。 すべてのアプリケーションソースコードは、建築層によって組織されるsrc/フォルダの中に存在します。 * : 静的メディアアセット、画像、カスタムフォント。 * : 認証ワークフロー(Login、Loader、登録、Pin Verification、パスワード回復)。 * : * コンポーネント: 再利用可能なコアUIコンポーネント(入力、ドロップダウン、DatePickers、ボタン、レイアウト Wrapper)。 * api/: API 関連の構成 (例: 暗号化ルールをバイパス)。 * 定数/: トークン(Themes.ts)、画像マッピング、定数の処理 * : カスタム React のホック (例: useIsDarkTheme.ts, useSBUSetup.ts)。 * : 機能ドメインによってグループ化された 厳格な TypeScript 宣言。 * : ビューと画面を含む機能固有のサブフォルダ: * arl-core-modules/: コアエンタープライズ/ERP機能。 ※SaaS-modules/:SaaS/サブスクリプション関連機能.
概要(AI 翻訳)
PeopleDeskは、TypeScript、MobX-State-Tree(MST)、React Native Paperを使用して、エンタープライズレベルのモバイルアプリケーションをブートストラップしています。
お問い合わせ
#1. プロジェクトディレクトリ構造
すべてのアプリケーションソースコードは、建築層が整理した[src/]フォルダの中に存在します。
*[src/assets/: 静的メディアアセット、画像、カスタムフォント。
*[src/auth/:認証ワークフロー(ログイン、ローダー、登録、Pin Verification、パスワード回復)。
*[src/common/**:
- [
components/:再使用可能なコアUIコンポーネント(入力、ドロップダウン、DatePickers、ボタン、レイアウト Wrapper)。 ※[api/:API関連構成(例:バイパス暗号化ルール)。 ※[constant/:スタイリングトークン(Themes.ts)、画像マッピング、定数。 *[src/hooks/:カスタムリアクトホック([T9]]、useSBUSetup.ts)。 *[[T11]&src/types/: 機能ドメインによってグループ化されたTypeScript宣言。 *[src/modules/**: ビューと画面を含む機能固有のサブフォルダ: arl-core-modules/: コア企業/ERPの特徴。 ※[SaaS-modules/:SaaS/サブスクリプション関連機能。- [
customer-registraion/&[emp-register/]: モジュールのセットアップとオンボーディング.
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
PeopleDesk - React Native Application
PeopleDesk is an enterprise-grade mobile application bootstrapped using the React Native CLI with TypeScript, MobX-State-Tree (MST), and React Native Paper.
1. Project Directory Structure
All application source code lives inside the src/ folder, organized by architectural layers:
src/assets/: Static media assets, images, and custom fonts.src/auth/: Authentication workflows (Login, Loader, Registration, Pin Verification, Password Recovery).src/common/:components/: Reusable, core UI components (Input, Dropdowns, DatePickers, Buttons, Layout Wrappers).api/: API-related configurations (e.g. bypass encryption rules).constant/: Styling tokens (Themes.ts), images mapping, and constants.
src/hooks/: Custom React hooks (e.g.useIsDarkTheme.ts,useSBUSetup.ts).src/interfaces/&src/types/: Strict TypeScript declarations grouped by feature domain.src/modules/: Feature-specific sub-folders containing views and screens:arl-core-modules/: Core enterprise/ERP features.SaaS-modules/: SaaS/subscription-related features.customer-registraion/&emp-register/: Setup and onboarding modules.supplier-core-modules/: Supplier interaction portal.
src/navigations/: Navigation configuration:RootStack.tsx: Core navigator.RootStackScreensParams.ts: Type declarations for routes and parameters.*Collections.tsx: Lists of screen configurations split by module.
src/services/: Network service layer executing Axios endpoints.src/stores/: MobX-State-Tree models (userInfo, permissionInfo, rootStore, etc.).src/themes/: Visual themes (DefaultTheme / DarkTheme) wrapping React Navigation and Paper schemas.
2. Coding Guidelines & Usage
Reusable UI Components
Always reuse the custom components defined in src/common/components/ to maintain design consistency and avoid code bloat:
- Layout Wrapper: Use
ContainerNewfrom [Container.tsx](file:///home/arpan/Desktop/people-desk-app/src/common/components/Container.tsx) for scrollable/non-scrollable screens. It handles SafeArea, pull-to-refresh, keyboard offsets, and bottom button bars. - Inputs: Use
CustomInputfor standard inputs, andCustomDropDownfor select fields. - Pickers: Use
CustomDatePickerandCustomTimePicker. - Grid layout: Combine
RowandColumnwrappers.
State Management (MobX-State-Tree)
- Location: All stores must go under
src/stores/. - Registration: Register any new store under
RootStorein [rootStore.ts](file:///home/arpan/Desktop/people-desk-app/src/stores/rootStore.ts). - State mutations: Never mutate the store state directly from components. All state modifications must happen inside
.actions(self => ({ ... }))blocks within the store model.
推奨ツール
別のキーワードを試すか、フィルタを外してください。
インストール
npx skillfish add arpan-jo/daily_star_hr