A minimal and modern to-do app built with React, Astro, and Shadcn UI. This project serves as a personal learning exercise and also demonstrates how to integrate React with Astro and Shadcn to create a simple yet clean and usable to-do list web application.
- Add Tasks: Quickly add tasks to your to-do list with a simple input field.
- Delete Tasks: Remove tasks with a single click.
- Modern Tech Stack: Built with Astro and React, styled using Shadcn and Tailwind CSS.
- Astro: For the project structure and static site generation.
- React: To create dynamic components.
- Shadcn UI: For modern, pre-designed UI components.
- Tailwind CSS: For styling.
To run this project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/copypasteonly/todolist cd todolist -
Install dependencies:
npm install
-
Start the development server:
npm run dev
-
Build for production:
When you're ready to deploy, build the app:
npm run build
-
Preview the production build:
Test the production build locally:
npm run preview
βββ public/
β βββ favicon.ico
βββ src/
β βββ components/
β β βββ TodoList.jsx
β βββ pages/
β β βββ index.astro
β βββ styles/
β βββ global.css
βββ package.json
βββ tailwind.config.cjs/public: Static files like favicon./src/components: React components./src/pages: Astro pages./src/styles: Global styles.tailwind.config.cjs: Tailwind CSS configuration.
