It's a restful api with Jwt Authentication using Laravel Lumen. (It's front end repository is: https://github.com/smzislam/-crudApiFrontend)
use "php -S localhost:8000 -t public" to run the api
To create user: http://localhost:8000/api/register, method: post
{ "name":"xxx", "email":"[email protected]", "password":"xxx" }
To get jwt token, login: http://localhost:8000/api/login, method: post
{ "email":"[email protected]", "password":"xxx" }
1. http://localhost:8000/api/product, method: get
2. http://localhost:8000/api/product/:id, method: get
3. http://localhost:8000/api/product, method: post (for insert)
4. http://localhost:8000/api/product/:id, method: post (for update)
5. http://localhost:8000/api/product/:id, method: delete
This software is licensed under the MIT license.