Skip to content

gastonestevez/SistemaInversiones

Repository files navigation

SistemaInversiones Project

Dev Area

Api-Token steps

  • Require jwt-auth package with composer

    composer require tymon/jwt-auth:dev-develop --prefer-source
  • Add Service provider in config/app.php

    'providers' => [ Tymon\JWTAuth\Providers\LaravelServiceProvider::class ],
  • Generate JWT KEY in .env file.

    php artisan jwt:secret
  • Add Middlewares to /app/Http/Kernel.php

    'jwt.auth' => \Tymon\JWTAuth\Middleware\GetUserFromToken::class, 'jwt.refresh' => \Tymon\JWTAuth\Middleware\RefreshToken::class,
  • Model data on: https://medium.com/@experttyce/c%C3%B3mo-crear-un-api-rest-con-laravel-5-7-y-jwt-token-94b79c533c6d

About

Webapp para Sistema Inversiones

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published