The main objective of this module is to introduce important React concepts and features, enabling the application of React Lifecycle methods, Hooks, Custom Hooks, Context, and Routing in developing robust applications.
- Understanding and application of React Lifecycle methods in components.
- Exploration and utilization of React Hooks for state management and other functionalities.
- Creation and implementation of Custom Hooks for reusing functionality across the application.
- Utilization of React Context for global state management.
- Application of React Routing for navigation between different application pages.
- Completion of an assignment to reinforce the learned concepts.
-
Create the following three pages:
a. Register: Users should be able to register via API.
b. Login: Implementation of a login page.
c. Category: Implement the following functionalities:
- Viewing the list of categories.
- Saving a category.
- Updating a category.
- Deleting a category.
- Filtering categories.
- Prevention of submission of duplicate category names.
-
Form Validation: Ensure all category forms have appropriate validation.
-
Implement Authorization: Secure the application by implementing proper authorization.
-
Tech Stack: Utilize Tailwind for styling, Formik for form handling, Yup for form validation, and Vite as the build tool.
- Node.js
- Yarn or npm
- Basic knowledge of React
-
Clone the repo
git clone https://github.com/RevoU-FSSE-2/week-13-m-istighfar.git
-
Install NPM packages
npm install # or yarn install
After installing the dependencies, you can start the development server by running:
npm run dev
# or
yarn dev
Open http://localhost:5173 to view the application in the browser.
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.