Skip to content

Ashujha1397/taskly-collab-hub

Repository files navigation

TaskFlow - Collaborative Task Management Platform

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.

🚀 Features

  • 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

🛠️ Tech Stack

  • 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

📋 Getting Started

Prerequisites

  • Node.js (v16 or higher)
  • npm or yarn

Installation

  1. Clone the repository

    git clone https://github.com/yourusername/taskflow.git
    cd taskflow
  2. Install dependencies

    npm install
    # or
    yarn install
  3. Start the development server

    npm run dev
    # or
    yarn dev
  4. Open your browser and navigate to http://localhost:8080

🏗️ Project Architecture

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

Key Components

  • 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

🧪 Testing

Running Tests

npm test
# or
yarn test

Test Structure

Tests are located alongside the components they test with a .test.tsx extension.

📦 Building for Production

npm run build
# or
yarn build

This will create a dist directory with the compiled assets.

🚢 Deployment

Static Hosting (Netlify, Vercel, GitHub Pages)

  1. Build the project

    npm run build
  2. Deploy the dist directory to your hosting service

Docker Deployment

  1. Build the Docker image

    docker build -t taskflow .
  2. Run the Docker container

    docker run -p 8080:80 taskflow

🔧 Configuration

The application can be configured through environment variables:

  • VITE_API_URL: URL for the backend API
  • VITE_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

🤝 Contributing

  1. Fork the repository
  2. Create a feature branch
    git checkout -b feature/amazing-feature
  3. Commit your changes
    git commit -m 'Add some amazing feature'
  4. Push to the branch
    git push origin feature/amazing-feature
  5. Open a Pull Request

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages