Skip to content

Template base para hacer api rest funcional con JWT y documentada

Notifications You must be signed in to change notification settings

frannale/api_rest_template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API REST TEMPLATE

SE REQUIERE > XAMPP 7.4

  • clonar repositorio

  • composer install

  • configurar archivo C:\xampp7.4\apache\conf\extra\httpd-vhosts

Esto configura en la url 127.0.0.1:80 para levantar nuestro servidor local, autorizando las peticciones HTTP con authorization header.

<VirtualHost 127.0.0.1:80>
    DocumentRoot "C:/xampp7.4/htdocs/DEV/public"
    DirectoryIndex index.php

    <Directory "C:/xampp7.4/htdocs/DEV/public">
        AllowOverride None
        Order Allow,Deny
        Allow from All

        FallbackResource /index.php
    </Directory>
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
</VirtualHost>
  • Para ver la documentacion y ver como interactuar con la API : 127.0.0.1/api/doc

About

Template base para hacer api rest funcional con JWT y documentada

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published