Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yanikkumar/laravel-auth-api
Laravel Api with Authentication System using Laravel sanctum. Register, Login, Logout, Forgot Password, Reset Password
https://github.com/yanikkumar/laravel-auth-api
Last synced: about 1 month ago
JSON representation
Laravel Api with Authentication System using Laravel sanctum. Register, Login, Logout, Forgot Password, Reset Password
- Host: GitHub
- URL: https://github.com/yanikkumar/laravel-auth-api
- Owner: yanikkumar
- Created: 2024-01-23T11:14:16.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2024-01-23T11:26:44.000Z (11 months ago)
- Last Synced: 2024-02-05T07:29:17.147Z (11 months ago)
- Language: PHP
- Homepage:
- Size: 73.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## About Laravel Auth API
Laravel Auth API is authentication system using laravel sanctum. This webAPI has features listed below:- Register API to register user with first_name, last_name, email, password, password_confirm
- Login API to login user with the credentials, jwt token will be generated and stored in the cookie for 1 day
- Logout API to logut the user
- User API to go to the authenticated user route after login
- Forgot password API to send the password reset link with the reset token
- Reset password API to reset the password for the email## Routes List
- POST 127.0.0.1:8000/api/register
- POST 127.0.0.1:8000/api/login
- GET 127.0.0.1:8000/api/user
- POST 127.0.0.1:8000/api/logout
- POST 127.0.0.1:8000/api/forgot
- POST 127.0.0.1:8000/api/resetHeaders include: X-Requested-With: XMLHttpRequest