Skip to content

This is a laravel coding test for the role of backend developer, this laravel test takes some JSON payload through API request and run some custom validation on the payload

Notifications You must be signed in to change notification settings

OfficialOzioma/my-laravel-test

Repository files navigation

Laravel Logo

Laravel Test

This is a laravel coding test for the role of backend developer, this laravel test takes some JSON payload through API request and run some custom validation on the payload

Payload Sample

{
    "first_name": {
        "value": "John",
        "rules": "alpha|required"
    },
    "last_name": {
        "value": "Doe",
        "rules": "alpha|required"
    },
    "email": {
        "value": "Doe",
        "rules": "email"
    },
    "phone": {
        "value": "08175020329",
        "rules": "number"
    }
}

Techonologies

  • PHP v8.1
  • Git
  • composer
  • POSTMAN

How to run on the localhost

  • Run git clone git@github.com:OfficialOzioma/my-laravel-test.git
  • Run cd my-laravel-test
  • Run composer install
  • Run php artisan serve
  • Send a POST request to http://127.0.0.1:8000/api/user on the POSTMAN

License

The Laravel framework is open-sourced software licensed under the MIT license.

About

This is a laravel coding test for the role of backend developer, this laravel test takes some JSON payload through API request and run some custom validation on the payload

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages