Skip to content

vaxevanis/task-manager-frontend

Repository files navigation

Task Manager Frontend

This is the frontend for the Task Manager application, built with Next.js 15, React 19, and the App Router. It serves as the user interface for managing tasks, supporting full CRUD functionality, filters, sorting, and user authentication via JWT (access and refresh tokens).

Task List


🚀 Features

  • App Router with SSR/SSG and dynamic routing
  • JWT Authentication with refresh tokens (via next-auth)
  • React Query for server state and data caching
  • Tailwind CSS for styling
  • Date handling with date-fns
  • Form management using react-hook-form + zod
  • Debounced search using use-debounce
  • UI components powered by @headlessui/react and @heroicons/react

📦 Tech Stack

Category Tech / Library
Framework Next.js 15 (App Router)
Auth next-auth with JWT & Refresh Token
State Mgmt React Query (@tanstack/react-query)
Forms react-hook-form + zod
Styling Tailwind CSS 4
HTTP Client Axios
UI Components Headless UI, Heroicons
Utilities date-fns, use-debounce

🔐 Authentication

This app uses JWT-based authentication with refresh token rotation via next-auth. Tokens are stored in HTTP-only cookies. Protected routes will redirect unauthenticated users to the login page.

⚠️ Backend API exposes /auth/login, /auth/refresh, and /auth/me endpoints for full compatibility.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

2. Run in Docker

Development

docker-compose -f docker-compose.dev.yml up --build

Production

docker-compose -f docker-compose.yml up --build

Open http://localhost:4000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

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 our Next.js deployment documentation for more details.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published