/Laravel-Restful-API

Developing restful API in Laravel with authentication. (Register, Login, Logout, List Products) API example in Laravel.

Primary LanguagePHP

Laravel 5.5 Restful API

This code covers following functionality:

  • API validation.
  • API authentication.
  • Authentication Middleware.
  • Laravel API routing
  • Restful API like (Register, Login, Logout)
  • Products list api with user authentication
  • Update product api
  • Delete product api

Installation

  • Clone the code
  • composer install
  • Write permissions to storage and bootstrap/cache folder