|
|
il y a 5 mois | |
|---|---|---|
| bin | il y a 5 mois | |
| controllers | il y a 5 mois | |
| libs | il y a 5 mois | |
| middlewares | il y a 5 mois | |
| migrations | il y a 5 mois | |
| models | il y a 5 mois | |
| public | il y a 5 mois | |
| .env.example | il y a 5 mois | |
| .gitignore | il y a 5 mois | |
| README.md | il y a 5 mois | |
| composer.json | il y a 5 mois | |
| composer.lock | il y a 5 mois |
run ./bin/setup
run composer install
run php -S localhost:8000 -t public
on another terminal run curl -X POST http://localhost:8000/register -H "Content-Type: application/json" -d '{"username":"du","email":"teste@email.com", "password":"du123456", "company_id":1, "role_id":1}'
on the other terminal run ./bin/testgetjwt
on the other terminal run export JWT=<jwt tooken>
on the other terminal run ./bin/testusejwt
on the other terminal run ./bin/testhmac