+
Skip to content

A modern, fast, and scalable To-Do application built with React, TypeScript, Redux Toolkit, CSS Modules, and pnpm.

License

Notifications You must be signed in to change notification settings

kaconant/todo-react-app

Repository files navigation

Krissy's Practice To-Do App

React TypeScript Redux Toolkit Storybook CSS Modules Vitest RTL pnpm

A modern, fast, and scalable To-Do application built with React, TypeScript, Redux Toolkit, Vitest, React Testing Library, and CSS Modules, powered by pnpm.

🚀 Features

  • Task Management - Add, edit, complete, and delete tasks.
  • 🧪 Unit + Component Testing - With Vitest and React Testing Library.
  • 🎨 CSS Modules for Styling - Scoped styles for better maintainability.
  • Fast State Management with Redux Toolkit - Efficient updates with slices and reducers.
  • 🔥 TypeScript Support - Type safety and enhanced developer experience.
  • 📘 Storybook for Component Development – Build, document, and visually test UI components in isolation.
  • 📦 Package Management with pnpm - Faster, more efficient dependency handling.

🛠 Tech Stack

Technology Purpose
React UI Framework
TypeScript Strongly-typed JavaScript
Redux Toolkit State Management
Vitest Unit + Component Testing Framework
React Testing Library DOM-focused Testing Utilities
Storybook Component Development & Documentation
CSS Modules Scoped Styles
pnpm Package Management

🎯 Getting Started

1️⃣ Prerequisites

Ensure you have Node.js (>=16) and pnpm (>=8) installed.

2️⃣ Clone the Repository

  git clone https://github.com/your-username/todo-app.git
  cd todo-app

3️⃣ Install Dependencies

  pnpm install

4️⃣ Run the App

  pnpm dev

This will start a development server at http://localhost:5173 (or another available port).

📂 Project Structure


📦 src
┣ 📂 app
┣ 📂 components
┣ 📂 features
┣ 📂 hooks
┣ 📂 pages
┣ 📂 styles
┣ 📂 utils
┣ 📜 main.tsx

🏁 Deployment

To build and deploy the app:

  pnpm build

Then deploy the contents of dist/ to your preferred hosting provider.

🧪 Run Tests

To run unit/component tests:

pnpm test

## 📜 License

This project is licensed under the MIT License.

---

💡 _Contributions are welcome! Feel free to fork and submit PRs._

About

A modern, fast, and scalable To-Do application built with React, TypeScript, Redux Toolkit, CSS Modules, and pnpm.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载