🧪 Full Stack Developer Test (Laravel + React/Next.
js)
🎯 Objective
Build a simple Task Management Application where users can:
• Register/Login
• Create and manage their tasks
• Tasks include: title, description, due date, and status (pending, in-progress,
completed)
🧩 Requirements
🔒 Authentication
• User registration and login
• Use Laravel Sanctum for API token-based auth
• Use protected routes for logged-in users
📦 Backend (Laravel API)
• Laravel 10+
• Sanctum for API authentication
• Create APIs for:
o Register/Login
o CRUD for Tasks
• Each task belongs to a user
• Optional: Add pagination and filtering (status, due date, etc.)
🧑🎨 Frontend (React/Next.js)
• Next.js 13/14+ (App or Pages router acceptable)
• Tailwind CSS for styling (bonus if used)
• Login/Register pages
• Dashboard to:
o List all tasks
o Create new task
o Edit and delete tasks
o Filter by status
• Use Axios or React Query to connect to API
• Protect routes using a simple auth mechanism (like storing token in
localStorage/cookies)
📁 Project Structure & Submission
• Use GitHub or GitLab for version control
• Include a README with setup instructions
• Separate folders for frontend and backend or use monorepo with client/ and server/
🏆 Bonus Points
• Form validation on frontend and backend
• Nice UI/UX using Tailwind or any UI library
• Use of Laravel API Resources
• Use of TypeScript in React project
• Responsive design
• Docker setup for easy running (optional)
• Tests using PHPUnit or Pest
⏱ Time Estimate
~6–8 hours max for a skilled developer. Can be done over 1–2 days.