binhstatic / manabie

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Multi-step Demo

Tech

ReactJS, TypeScript, MaterialUI, Jest Test, Cypress

How to run this code

Run yarn or npm install If this is the first time you clone this repo (master branch).

npm start or yarn start

Run the app in the development mode.
Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes.
You may also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.\

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

Structure

.
├── __tests__
├── assets
├── components
│   ├── Avatar
│   │   └── AvatarPersonal.tsx
│   ├── Button
│   │   ├── MultiStepButton.tsx
│   │   └── UploadButton.tsx
│   ├── Input
│   │   └── ReactHookFormTextField.tsx
│   └── Stepper
│       └── SignUpStepper.tsx
├── constants
│   ├── action-types.ts
│   └── steps.ts
├── context
│   └── SignUpStateProvider.tsx
├── hooks
│   └── useDebounce.tsx
├── layout
│   ├── Layout.tsx
│   └── MainNavigation.tsx
├── pages
│   ├── Home
│   │   └── HomePage.tsx
│   └── SignUp
│       ├── multi-step-form-state
│       │   ├── actions.ts
│       │   ├── reducer.ts
│       │   └── types.ts
│       ├── SignUp.tsx
│       └── steps
│           ├── AvatarInfo.tsx
│           ├── PersonalInfo.tsx
│           └── ReviewAllInfo.tsx
├── store
│   └── firebase.ts
├── types
│   ├── index.ts
│   └── signup.ts
├── utils
├── App.test.tsx
├── App.tsx
├── index.tsx
├── mockup.drawio
├── react-app-env.d.ts
├── reportWebVitals.ts
├── router.tsx
└── setupTests.ts

About


Languages

Language:TypeScript 84.1%Language:JavaScript 9.1%Language:HTML 6.8%