Skip to content

bluesven869/Lumen-JWT

Repository files navigation

version

Quick Start

  • Clone this repo or download it's release archive and extract it somewhere
  • You may delete .git folder if you get this code via git clone
  • Run composer install
  • Run php artisan jwt:generate
  • Configure your .env file for authenticating via database
  • Set the API_PREFIX parameter in your .env file (usually api).
  • Run php artisan migrate --seed

API Endpoint

  • [POST] /api/auth/login

    Request:

    {
        "email": "[email protected]",
        "password": "johndoe"
    }
    

    Response:

    {
        "success": {
            "message": "token_generated",
            "token": [token_here]
        }
    }
    

About

lumen5.4, JWT Authentication, Micro Service

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages