Laravel Roadmap: Beginner Level Challenge
This is a task for the Beginner Level of the Laravel Roadmap, with the goal to implement as many of its topics as possible.
This repository is intentionally empty, with only a Readme file. Your task if to submit a Pull Request with your version of implementing the task, and your PR may be reviewed by someone on our team, or other volunteers.
The Task: Simple Personal Blog
You need to create a personal blog with just three pages:
- Homepage: List of articles
- Article page
- Some static text page like "About me"
Also, there should be a Login mechanism (but no Register) for the author to write articles:
- Manage (meaning, create/update/delete) categories
- Manage tags
- Manage articles
- For Auth Starter Kit, use Laravel Breeze (Tailwind) or Laravel UI (Bootstrap) - that starter kit will have some design, which is enough: the design is irrelevant for accomplishing the task
DB Structure:
- Article has title (required), full text (required) and image to upload (optional)
- Article may have only one category, but may have multiple tags
Features to implement
Here's the list of Roadmap features you need to try to implement in your code:
Routing and Controllers: Basics
- Callback Functions and Route::view()
- Routing to a Single Controller Method
- Route Parameters
- Route Naming
- Route Groups
Blade Basics
- Displaying Variables in Blade
- Blade If-Else and Loop Structures
- Blade Loops
- Layout: @include, @extends, @section, @yield
- Blade Components
Auth Basics
- Default Auth Model and Access its Fields from Anywhere
- Check Auth in Controller / Blade
- Auth Middleware
Database Basics
- Database Migrations
- Basic Eloquent Model and MVC: Controller -> Model -> View
- Eloquent Relationships: belongsTo / hasMany / belongsToMany
- Eager Loading and N+1 Query Problem
Full Simple CRUD
- Route Resource and Resourceful Controllers
- Forms, Validation and Form Requests
- File Uploads and Storage Folder Basics
- Table Pagination
Example Solutions
If you need help, or you want to compare your version with our simple version, here are two public repositories with the solution:
Notice: please look at those repositories only AFTER you've accomplished the task yourself, or if you're confident about your Laravel beginner skills and you think you don't need to practice this task.