mercredi 7 juin 2023

Make Reset APIs without sanctum

(using POSTMAN and Only Laravel api.php routes and Middleware and Don’t use any external packages, also don’t forget to secure your API routes with a KEY)

Description: 1 - Create authentication API for user login and register.

2 - make end-point for profile which get user profile data (name, email, photo, age, etc..).

3 – let’s assume we have (categories, subcategories and user_subcategories table) and each category have some Subcategories for example (development category has subcategories (front-end, back-end, flutter and UI)) and we have a user in development category and he has only two subcategories in user_subcategories table,

(challenge: what’s the best way to view all these relations if the mobile app Requests a user profile data with categories?), show this API in a Laravel project

I searched for any explanation without the sanctum, but I did not find it



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/alY950p
via IFTTT

Aucun commentaire:

Enregistrer un commentaire