Code Monkey home page Code Monkey logo

laravel-challenge's Introduction

Laravel Roadmap: Advanced Beginner Level Challenge

This is a task for the Advanced 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 CRM System for Managing Clients

You should create an adminpanel-like system to manage Clients, Projects, Tasks with CRUD operations.

A few screenshots from the example solution:

Screenshot 2021-08-12 at 10 56 42

Screenshot 2021-08-12 at 10 57 15

You can come up with whatever structure of the database tables you want, but please try to use all the Laravel features listed below.


Features to implement

Here's the list of Roadmap features you need to try to implement in your code:

Routing Advanced

  • Route Model Binding in Resource Controllers
  • Route Redirect - homepage should automatically redirect to the login form

Database Advanced

  • Database Seeders and Factories - to automatically create first clients/projects/tasks and default users
  • Eloquent Query Scopes - show only active clients, for example
  • Polymorphic relationships with Spatie Media Library package
  • Eloquent Accessors and Mutators - view all date values in m/d/Y format
  • Soft Deletes on any Eloquent models

Auth Advanced

  • Authorization: Roles/Permissions (admin and simple users), Gates, Policies with Spatie Permissions package
  • Authentication: Email Verification

API Basics

  • API Routes and Controllers
  • API Eloquent Resources
  • API Auth with Sanctum
  • Override API Error Handling and Status Codes

Debugging Errors

  • Try-Catch and Laravel Exceptions
  • Customizing Error Pages

Sending Email

  • Mailables and Mail Facade
  • Notifications System: Email

Extra

  • Automated Tests for CRUD Operations

Example Solution

If you need help, or you want to compare your version with our simple version, here's the public repository with a possible solution.

Notice: please look at that repository only AFTER you've accomplished the task yourself, or if you're confident about your Laravel Advanced Beginner skills and you think you don't need to practice this task.

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.