A frontend application for a Kanban board built with Next.js.
- Authentication (Login/Register/Logout) and session management (HttpOnly Cookie)
- Board/Column/Card management
- Drag & drop task reordering
- Dark mode support
- Node.js 18.x or higher
- npm 9.x or higher
- Assumes the backend API kanban-backend is running.
For the backend that works with this app, please refer to the following repository:
git clone <repository-url>
cd kanban-frontendnpm installCopy .env.example to create .env.local.
cp .env.example .env.localEdit .env.local and set the backend API URL.
# Backend API URL (Laravel Sanctum)
NEXT_PUBLIC_API_URL=http://localhost:8000
# Optional: Frontend App URL
NEXT_PUBLIC_APP_URL=http://localhost:3000npm run devOpen http://localhost:3000 in your browser to view the application.
src/
├── app/ # Next.js App Router
│ ├── api/ # Route Handlers
│ ├── boards/ # Board pages
│ ├── login/ # Login page
│ └── register/ # Registration page
├── components/ # Shared components
│ └── ui/ # UI components
├── constants/ # Constants
├── features/ # Feature modules
│ ├── board/ # Board feature
│ ├── card/ # Card feature
│ └── column/ # Column feature
├── hooks/ # Custom hooks
├── lib/ # Utilities
├── middleware.ts # Middleware
└── types/ # Type definitions
