Giter Club home page Giter Club logo

laravel-roadmap-beginner-challenge's Introduction

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

Usage

  • clone the repo
  • composer install
  • npm install && npm run dev
  • copy .env.example .env
  • php artisan key:generate
  • add database credentials
  • php artisan migrate:fresh --seed
  • php artisan storage:link

Login credentials: [email protected], password

Task Details

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.

laravel-roadmap-beginner-challenge's People

Contributors

habibmhamadi avatar laraveldaily avatar povilaskorop avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.