Skip to content
Evge14nPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TaskFlow - Full-Stack Task Management System

Laravel Next.js TypeScript TailwindCSS

A professional full-stack task management application built with Laravel 12 (Backend) and Next.js 14 (Frontend). Features a modern, responsive UI with Kanban boards, real-time statistics, and comprehensive project management capabilities.

🌟 Features

Backend (Laravel 12)

  • RESTful API with versioning (/api/v1/)
  • JWT Authentication via Laravel Sanctum
  • Service-Repository Pattern for clean architecture
  • Eloquent ORM with relationships
  • Form Request Validation
  • API Resources for consistent JSON responses
  • CORS Support for cross-origin requests
  • Database Migrations and Seeders

Frontend (Next.js 14)

  • React 18 with Server & Client Components
  • TypeScript for type safety
  • TailwindCSS for styling
  • React Query for server state management
  • Zustand for client state management
  • Responsive Design (mobile-first)
  • Dark Mode support
  • Accessibility (WCAG compliant)

Application Features

  • 📊 Dashboard with statistics and charts
  • 📁 Project Management with color coding
  • ✅ Task Management with priorities and due dates
  • 🔄 Kanban Board view for projects
  • 👥 User Authentication (Login/Register)
  • 📱 Responsive sidebar navigation
  • 🔍 Filtering & Search for tasks

🏗️ Architecture

┌─────────────────────────────────────────────────────────────┐
│                        Frontend (Next.js)                    │
│  ┌─────────────┐  ┌──────────────┐  ┌───────────────────┐   │
│  │  Components │  │  React Query │  │  Zustand Store    │   │
│  └─────────────┘  └──────────────┘  └───────────────────┘   │
└────────────────────────────┬────────────────────────────────┘
                             │ HTTP/REST
┌────────────────────────────▼────────────────────────────────┐
│                        Backend (Laravel)                     │
│  ┌──────────┐  ┌───────────┐  ┌────────────┐  ┌──────────┐  │
│  │Controller│ → │  Service  │ → │ Repository │ → │  Model   │  │
│  └──────────┘  └───────────┘  └────────────┘  └──────────┘  │
└─────────────────────────────────────────────────────────────┘

🚀 Quick Start

Prerequisites

  • PHP 8.2+
  • Composer
  • Node.js 18+
  • npm or yarn

Backend Setup

cd backend

# Install dependencies
composer install

# Copy environment file
cp .env.example .env

# Generate app key
php artisan key:generate

# Run migrations with demo data
php artisan migrate --seed

# Start server
php artisan serve

Frontend Setup

cd frontend

# Install dependencies
npm install

# Copy environment file
cp .env.example .env.local

# Start development server
npm run dev

# Or build for production
npm run build && npm run start

Demo Credentials

  • Email: demo@taskflow.com
  • Password: demo123

📁 Project Structure

task-manager/
├── backend/                 # Laravel 12
│   ├── app/
│   │   ├── Http/
│   │   │   ├── Controllers/Api/V1/
│   │   │   ├── Requests/
│   │   │   └── Resources/
│   │   ├── Models/
│   │   ├── Repositories/
│   │   └── Services/
│   ├── database/
│   │   ├── migrations/
│   │   └── seeders/
│   └── routes/api.php
│
└── frontend/                # Next.js 14
    └── src/
        ├── app/
        │   ├── (auth)/
        │   │   ├── login/
        │   │   └── register/
        │   └── (dashboard)/
        │       ├── dashboard/
        │       ├── projects/
        │       └── tasks/
        ├── components/
        ├── hooks/
        ├── lib/
        └── types/

🔗 API Endpoints

Authentication

Method Endpoint Description
POST /api/v1/auth/register Register new user
POST /api/v1/auth/login Login user
POST /api/v1/auth/logout Logout user
GET /api/v1/auth/me Get current user

Projects

Method Endpoint Description
GET /api/v1/projects List all projects
POST /api/v1/projects Create project
GET /api/v1/projects/{id} Get project
PUT /api/v1/projects/{id} Update project
DELETE /api/v1/projects/{id} Delete project
GET /api/v1/projects/stats Get project statistics

Tasks

Method Endpoint Description
GET /api/v1/tasks List all tasks
POST /api/v1/tasks Create task
GET /api/v1/tasks/{id} Get task
PUT /api/v1/tasks/{id} Update task
PATCH /api/v1/tasks/{id}/status Update task status
DELETE /api/v1/tasks/{id} Delete task
GET /api/v1/tasks/stats Get task statistics
GET /api/v1/tasks/upcoming Get upcoming tasks

🛠️ Tech Stack

Backend

  • Framework: Laravel 12
  • PHP: 8.2+
  • Database: SQLite/MySQL
  • Auth: Laravel Sanctum
  • Architecture: Service-Repository Pattern

Frontend

  • Framework: Next.js 14 (App Router)
  • Language: TypeScript
  • Styling: TailwindCSS
  • State: React Query + Zustand
  • UI Components: Custom component library
  • Icons: Lucide React

📸 Screenshots

Dashboard

Modern dashboard with statistics, task breakdown, and upcoming tasks.

Projects

Grid view of projects with progress indicators and quick actions.

Kanban Board

Visual task management with drag-and-drop status changes.

👨‍💻 Author

Євген М.

Привіт! Мене звати Євген. Мені 17, тому акаунт оформлений на маму — вона мій опікун для фінансових питань на платформі. Роботу шукаю собі, код пишу сам.

📄 License

This project is open-source and available under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages