live Kanban using Next Js
NODE Version : v20.18.1 NVM Version : v1.1.11
npm i start project : npm run dev
- State Management: Redux Toolkit (RTK) for managing global state.
- State Persistence: Redux Persist to persist authentication and state across page reloads.
- Live Board Update: All login user can view task update on live time
- Protector Router: You can access app only after Login
- Role base Permission: Admin can create, add, edit and remove task
- User Login and Logout User can Easily login to view the dashboard
- Code Standard Add Typescript Validation to avoid data leak
- Base Path feature
Import any module directly at any file without checking relative path
Form User Formik and Yup for create form and manage form validation
For Managing Simple and complex form use common Form component (src\components\form)
- Do not user any third part UI component First create Component with KB<component_name> prefix to avoid name conflict with original source
- Create re-useable Common component and Follow DRY principal
- Write logical part of component into it's own separate hook
- Avoid any Type and add create accurate type or interface
Login with different user on different browser and go to kanban tab (Add, Remove, Update) any task and see live change to all login user
https://www.loom.com/share/4d4d49c2b5d14ce4baffcd74660f92af?sid=b59bb831-e8ec-41db-9128-f2f19582e959
For Login use any of user (If you want to add more user then you can add from this file : (pages\api\auth\login.ts) )
[ { id: 1, email: "admin@mail.com", password: "test@123", name: "Admin 1", role: "admin", }, { id: 2, email: "admin2@mail.com", password: "test@123", name: "Admin 2", role: "admin", }, { id: 3, email: "test1@mail.com", password: "test@123", name: "Test User 1", role: "user", }, { id: 4, email: "test2@mail.com", password: "test@123", name: "Test User 2", role: "user", }, ];