A modern CRUD application built with React, TypeScript, and Vite, using IndexedDB for client-side storage.
- React 18
- TypeScript
- Vite
- Chakra UI
- Formik & Yup
- IndexedDB
- Create, Read, Update, Delete operations
- Client-side storage using IndexedDB
- Form validation with Formik and Yup
- Modern UI with Chakra UI
- Type-safe development with TypeScript
- Node.js (v14 or higher)
- npm or yarn
- Clone the repository:
git clone https://github.com/yourusername/react-crud.git
cd react-crud- Install dependencies:
npm install- Start the development server:
npm run devThe application will be available at http://localhost:3000.
npm run dev- Start development servernpm run build- Build for productionnpm run preview- Preview production build locallynpm run lint- Run ESLintnpm run type-check- Run TypeScript type checking
src/
├── components/ # React components
├── context/ # React context
├── hooks/ # Custom hooks
├── pages/ # Page components
├── styles/ # Global styles
├── types/ # TypeScript types
└── utils/ # Utility functions
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License.