-
Clone this repo
-
Run PHP built-in web server
php -t ./src -S 127.0.0.1:8080
-
Test this URLs on your web browser (GET method) or client (Postman, cURL; GET/POST methods):
http://127.0.0.1:8080/?_=/hola1
http://127.0.0.1:8080/?_=/hola2
-
READ THE SOURCE CODE :D
-
This basic implementation don't includes Middlewares or User Role Management. This things should be you next move! ;)
(c) Eliuk Blau 2018
This source code is for educational purposes only. Please don't steal my work.