-
Router: React router dom in here
-
Global state: Recoil in here
-
Call API: Axios + React Query
-
Translation: React i18 next in here
-
UI Libary: Tailwind + Shadcn + Chakra UI
-
Form Validation: React Hook Form & Zod
src folder in here:
apis
Call REST APISassets
Images, iconscomponents
React Componenthooks
React hooksconstants
Constant Datalocales
Internationalizationlayouts
Based layoutpages
Based pagerouters
React Routerstyles
Csstypes
Type, inteface, enumutils
Typescript helper libraries
Install nodeJS
Latest node LTS version required (16) Use node manager like nvm to install.
Install pnpm: https://pnpm.io/installation
Install dependencies:
pnpm install
pnpm i
Run development server:
pnpm dev
Build and preview built site locally:
pnpm preview
Build:
pnpm build
Lint .ts files with eslint:
pnpm lint
feat
add new functionsfix
Fix issues/bugsperf
Optimize performancestyle
Change the code style without affecting the running resultrefactor
Re-factor coderevert
Undo changestest
Test related, does not involve changes to business codedocs
Documentation and Annotationchore
Updating dependencies/modifying scaffolding configuration, etc.workflow
Work flow Improvementsci
CICDtypes
Type definitionwip
In development