A simple web application for managing daily tasks, built with React, TypeScript, and Express.
- Create, edit, and delete tasks
- Mark tasks as complete/incomplete
- Filter tasks by status (all, active, completed)
- Persistent storage using localStorage
- Clean and responsive UI with Tailwind CSS
- Backend API with Express
- Node.js (v14 or higher)
- npm (v6 or higher)
- Clone the repository:
git clone <repository-url>
cd dailytaskmanager- Install dependencies:
npm install- Start the development server:
npm run devThis will start both the frontend development server (Vite) and the backend server (Express) concurrently.
- Frontend: http://localhost:5173
- Backend API: http://localhost:5000
npm run dev- Start both frontend and backend servers in development modenpm run build- Build the frontend application for productionnpm run preview- Preview the production build locallynpm run server- Start only the backend servernpm run lint- Run ESLint to check for code issues
GET /api/tasks- Get all tasksPOST /api/tasks- Create a new taskPUT /api/tasks/:id- Update a taskDELETE /api/tasks/:id- Delete a task
- React
- TypeScript
- Tailwind CSS
- Express
- Vite
- Hero Icons
dailytaskmanager/
├── src/
│ ├── components/
│ │ ├── TaskList.tsx
│ │ └── TaskForm.tsx
│ │
│ ├── types/
│ │ └── Task.ts
│ │
│ ├── App.tsx
│ │
│ └── main.tsx
│
├── server.js
│
├── package.json
│
└── README.md
- 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.