A production-ready, type-safe CRUD system built with Next.js, Formik, and Yup.
Features:
- ✅ Fully reusable - Add 100s of CRUDs by just defining schemas
- ✅ Type-safe with Yup inference - No
anytypes - ✅ Optimized with React best practices (memo, useCallback, useTransition)
- ✅ Per-row loading indicators
- ✅ Real-time validation with error messages
- ✅ Delete confirmations with toast notifications
- ✅ Atomic design architecture
- ✅ Clean, organized codebase
Tech Stack:
- Next.js 16
- React 19
- TypeScript (strict mode)
- Formik + Yup
- Shadcn UI
- Tailwind CSS 4
Quick Start:
cd crud-system
npm run devVisit: http://localhost:3000/crud
Documentation:
docs/README.md- Complete technical documentationdocs/QUICKSTART.md- For beginnersdocs/OPTIMIZATIONS.md- React optimizations applieddocs/STRUCTURE.md- Project structure
Learning materials and examples for React hooks and APIs.
Topics Covered:
- State hooks (useState, useReducer)
- Effect & Ref hooks (useEffect, useRef, useLayoutEffect)
- Performance hooks (useMemo, useCallback, useTransition)
- Context & Other hooks (useContext, useId, useSyncExternalStore)
- React APIs (memo, lazy, cache, use)
Each project has its own README with specific instructions.
All projects include comprehensive documentation in their respective docs/ folders.