Learning Laravel Roadmap Week 3-4
Expected daily commitment: 5 hours Total duration: 2 weeks (60 hours total)
Week 3: Authentication and Basic Features (30 hours)
Day 1-2: Authentication Setup (10 hours)
- Setup Laravel Sanctum for authentication [๐ Sanctum Guide]
- Install and configure Sanctum
- Create basic authentication endpoints
- Test token generation
- Implement login/register system
- Create auth controllers
- Setup email verification
- Add password reset functionality
Day 3-4: User Management (10 hours)
- Create role system [๐ฅ Auth Guide]
- Add roles table migration
- Create role middleware
- Implement basic admin/user roles
- Setup user profile management
- Create profile update functionality
- Add avatar upload feature
- Implement password change
Day 5-6: Database Relations (10 hours)
- Implement relationships [๐พ Eloquent Guide]
- Setup User-Todo relationship
- Create categories for todos
- Add proper soft deletes
- Test all relationships
Week 4: UI Implementation and API Development (30 hours)
Two tracks are available for this week. Choose one based on your interest and click to expand:
๐ป Full Stack Track: Implement a full dashboard with Livewire and Tailwind CSS
Day 1-2: Frontend Setup (10 hours)
- Setup Tailwind and Soft UI [๐จ UI Guide]
- Install Tailwind CSS
- Configure Soft UI Dashboard
- Setup basic layout components
- Configure Livewire [โก Livewire Guide]
- Create base components
- Setup event listeners
- Add real-time validation
Day 3-4: UI Components (10 hours)
- Create dashboard components
- Todo list component with filtering
- Todo creation modal
- Category management
- User profile page
- Implement Soft UI elements
- Navigation sidebar
- Stats cards
- Data tables
- Action buttons
Day 5-6: Advanced Features (10 hours)
- Add interactive features
- Real-time updates
- Search functionality
- Filtering system
- Activity logging
๐ง API Track: Develop a RESTful API with Laravel and Postman documentation
Day 1-2: API Structure (10 hours)
- Setup API architecture [๐๏ธ API Guide]
- Create API routes
- Setup versioning
- Implement rate limiting
- Add authentication middleware
Day 3-4: API Development (10 hours)
- Implement CRUD endpoints
- Todo management
- Category management
- User management
- Add proper validation
Day 5-6: Testing & Documentation (10 hours)
- Write API tests [๐งช Testing Guide]
- Create feature tests
- Add unit tests
- Test authentication
- Document API endpoints
- Create Postman collection
- Add request examples
- Include environment variables
- Export and share collection
Required Features for Both Tracks
- User Management
- Registration with email verification
- Login with remember me
- Password reset
- Profile management
- Todo Management
- CRUD operations
- Categories with color coding
- Due dates
- Priority levels (Low, Medium, High)
- Status tracking
- Dashboard Features
- Todo statistics
- Recent activities
- Category overview
- Search and filters
Technical Requirements
- Follow [๐ PSR-12] coding standards
- Implement proper [โ Error Handling]
- Add [โ Request Validation]
- Use [๐๏ธ Repository Pattern]
- Write [๐ Clean Code]
- Use proper [๐ฆ Git Workflow]
- Complete [๐ API Documentation]
Daily Progress Requirements
- Commit code at least once per day
- Document any issues or blockers
- Review and test previous dayโs work
- Seek help if stuck for more than 2 hours
Evaluation Criteria
- Code quality and organization
- Feature completeness
- UI/UX implementation
- Testing coverage
- Documentation quality
- Git commit history
Deadline: Jan 5, 00:00 (Nepal Time +5:45)
PS: After completing these tasks, actual project work will start. So, make sure you understand the concepts and implement them properly.