/laravestarterkit

laravel starter kit with own configs on breez/sanctum

Primary LanguagePHP

Laravel Logo

Build Status Total Downloads Latest Stable Version License

Project Created by ***** Anania Cofree *****

you can contribute to these starter kit by creating pull requests. dont forget to leave a STAR if you find the project helpful

you can buy me a cup of coffee via telebirr on +251911066609

About Specific project

A simple laravel starter kit to get started with your laravel applications

whats included

Sanctum Breeze

Details

$Sanctum: used for bearer token auth and $Breeze is used for GUI authentication/registration/password reset.

some api routes revealed

Non protected Routes
http://localhost:8000/api/animals --- method = GET ----- returns list of animals in json format
http://localhost:8000/api/animals/3 --- method = GET ----- returns specific animal with the following id
http://localhost:8000/api/animals/search/abc --- method = GET ----- returns animal with where type like '%abc%'
http://localhost:8000/api/login --- method = POST ----- Login to system - generates token
http://localhost:8000/api/register --- method = POST ----- Registration on the system - generates token
Protected Routes
http://localhost:8000/api/animals --- method = POST ----- creates new animal
http://localhost:8000/api/animals/3 --- method = PUT ----- edits existing animal
http://localhost:8000/api/animals/3 --- method = DELETE ----- destroys animal
http://localhost:8000/api/logout --- method = POST ----- logout and destroy token