Skip to content

dkg1212/Task-Manger-App-UI

Repository files navigation


🗄️ Backend Repository

Looking for the backend? It’s available here 👇

Backend Repo

📌 Setup & API Docs:
Head over to the backend repository and follow its README for complete installation, environment setup, and API usage details.


📝 Task Manager App (Frontend)

A modern, responsive, and feature-rich task management web app built with Next.js 14, React, and Tailwind CSS v4.1+.
This is the frontend for the Task Manager project.

🚀 Features

  • Next.js 14 App Router for fast, scalable routing
  • Tailwind CSS v4.1+ for utility-first, dark mode-ready styling
  • Manual and system dark mode toggle (no config needed)
  • Authentication (login/signup) with JWT (via backend API)

📝 Task Manager App (Frontend)

A modern, responsive, and feature-rich task management web app built with Next.js 14, React, and Tailwind CSS v4.1+.

This is the frontend for the Task Manager project.


🚀 Features

  • Next.js 14 App Router for fast, scalable routing
  • 🎨 Tailwind CSS v4.1+ for utility-first, dark mode-ready styling
  • 🌗 Manual & system dark mode toggle (no config needed)
  • 🔐 Authentication (login/signup) with JWT (via backend API)
  • Task CRUD: Add, edit, delete, and mark tasks as complete
  • Task priority: Set and edit priority (1-5), sort by priority
  • 🟦 Drag & drop task reordering (with @hello-pangea/dnd)
  • 📱 Responsive: Mobile-first, works great on all devices
  • 🪄 Animated modals for adding tasks, with background blur
  • 🧠 Context-based Auth and Dark Mode
  • Beautiful UI with glassmorphism, gradients, and smooth transitions

📁 Project Structure

frontend/
├── app/
│   ├── layout.tsx         # Root layout, providers, global styles
│   ├── globals.css        # Tailwind base styles
│   ├── page.tsx           # Home page
│   ├── login/page.tsx     # Login page
│   ├── signup/page.tsx    # Signup page
│   └── tasks/page.tsx     # Main task dashboard
├── components/
│   ├── Navbar.tsx         # Top navigation bar
│   ├── TaskForm.tsx       # Add/edit task form (modal)
│   ├── TaskItem.tsx       # Single task display & edit
│   └── WaitForDarkMode.tsx# Client-side dark mode gate
├── context/
│   ├── AuthContext.tsx    # Auth state/context
│   └── DarkModeContext.tsx# Dark mode state/context
├── lib/
│   └── api.ts             # Axios instance for API calls
├── types/
│   └── index.d.ts         # TypeScript types (Task, User, etc.)
└── public/                # Static assets (icons, images)

🛠️ Tech Stack

  • Next.js 14 (App Router, TypeScript)
  • React 18
  • Tailwind CSS v4.1+
  • TypeScript
  • 🎬 Framer Motion (animations)
  • 🟦 @hello-pangea/dnd (drag & drop)
  • Lucide React (icons)

🌗 Dark Mode

  • Uses Tailwind v4.1+ color-scheme-based dark mode (no config needed)
  • 🌙 Toggle in Navbar, persists via localStorage
  • All pages/components styled for both modes

📝 Getting Started

  1. 📦 Install dependencies:
    cd frontend
    npm install
  2. ▶️ Start the dev server:
    npm run dev
  3. 🔗 Connect to backend:
    • The frontend expects a backend API (see /lib/api.ts for base URL)
    • Make sure your backend is running and CORS is enabled

✨ Key Files & Concepts


📦 Environment Variables

  • No .env needed for frontend unless you want to override API base URL in /lib/api.ts.

🤝 Contributing

Pull requests are welcome! Please open an issue or discussion for major changes.


📄 License

MIT


👨‍💻 Author


📷 Screenshots

☀️ Light Mode 🌙 Dark Mode
Light Screenshot Dark Screenshot

📚 Learn More

▲ Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out Next.js deployment documentation for more details.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors