This project focuses on building a digital Onboarding experience using React, leveraging fundamental concepts such as components, hooks, and props. The application guides users through a series of steps, each represented by a card containing descriptive text and an accompanying image.
- React-onboarding-digital
- Description
- Key Features
- Technologies Used
- Project Structure
- Project Setup
- Layout Images
- Author
- Component-Based Architecture: Utilizes React components for modular and maintainable code.
- State Management with Hooks: Implements useState hook to manage and update the current step in the Onboarding process.
- Props for Data Passing
- Responsive Design: Ensures the application is responsive across various screen sizes using Bootstrap 5.
- Unit Testing with Vitest.
- PropType Validation.
REACT-ONBOARDING-DIGITAL/
├── node_modules/ # (Generated upon installation)
├── public/
| ├── sample footage/
├── src/
│ ├── App/
│ │ ├── App.jsx
│ ├── assets/
│ ├── Components/
│ │ ├── Card/
│ │ | ├── Card.css
│ │ | ├── Card.jsx
│ │ └── Indicator/
│ │ | ├── Indicator.css
│ │ | ├── indicator.jsx
│ ├── Data/
│ │ ├── Data.js
│ └── test/
│ ├── Card.test.jsx
| └──main.jsx
├── .eslintrc.cjs
├── .gitignore
├── index.html
├── package-lock.json
├── package.json
├── README.md
└── vite.config.js
- Node.js
- npm (Node Package Manager)
-
Clone the repository:
git clone https://github.com/Luovtyrell/React-onboarding-digital.git cd React-onboarding-digital
-
Install dependencies:
npm install
-
Start the development server:
npm run dev
The project uses Vitest
for testing. To run tests, use the following command and see the results in your terminal`
npm run test
- React, It Academy. @Luovtyrell