A modern, responsive task management application built with React, TypeScript, and Tailwind CSS. TaskFlow helps teams collaborate effectively by providing an intuitive interface for managing tasks, projects, and deadlines.
- Intuitive Dashboard: Get a quick overview of all your tasks and upcoming deadlines
- Project Management: Organize tasks by projects to keep your work structured
- Task Tracking: Create, assign, and track tasks with customizable status indicators
- User Profiles: Manage your account and preferences
- Responsive Design: Works seamlessly on desktop, tablet, and mobile devices
- Frontend: React.js, TypeScript
- UI Framework: Tailwind CSS, shadcn/ui components
- State Management: TanStack Query (React Query)
- Routing: React Router
- Data Visualization: Recharts
- Build Tool: Vite
- Node.js (v16 or higher)
- npm or yarn
-
Clone the repository
git clone https://github.com/yourusername/taskflow.git cd taskflow
-
Install dependencies
npm install # or yarn install
-
Start the development server
npm run dev # or yarn dev
-
Open your browser and navigate to
http://localhost:8080
The project follows a component-based architecture with a focus on reusability and maintainability.
src/
├── components/ # UI components
│ ├── ui/ # Base UI components (shadcn/ui)
│ └── ... # Feature-specific components
├── pages/ # Page components that correspond to routes
├── hooks/ # Custom React hooks
├── lib/ # Utility functions and helpers
├── utils/ # Utility functions
└── main.tsx # Entry point
- Layout: The main layout component that wraps all pages
- Navbar: Navigation component for the application
- TaskCard: Card component for displaying task information
- TaskModal: Modal for creating and editing tasks
- Hero: Landing page hero section
npm test
# or
yarn test
Tests are located alongside the components they test with a .test.tsx
extension.
npm run build
# or
yarn build
This will create a dist
directory with the compiled assets.
-
Build the project
npm run build
-
Deploy the
dist
directory to your hosting service
-
Build the Docker image
docker build -t taskflow .
-
Run the Docker container
docker run -p 8080:80 taskflow
The application can be configured through environment variables:
VITE_API_URL
: URL for the backend APIVITE_APP_ENV
: Environment (development, production)
Create a .env
file in the root directory to set these variables:
VITE_API_URL=https://api.example.com
VITE_APP_ENV=development
- Fork the repository
- Create a 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 - see the LICENSE file for details.