https://github.com/jglchen/user-next-jwt
Laravel API JWT Auth - Next.js Frontend
https://github.com/jglchen/user-next-jwt
docker nextjs reactjs typescript
Last synced: about 1 year ago
JSON representation
Laravel API JWT Auth - Next.js Frontend
- Host: GitHub
- URL: https://github.com/jglchen/user-next-jwt
- Owner: jglchen
- Created: 2023-08-25T20:52:25.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-31T08:05:00.000Z (over 2 years ago)
- Last Synced: 2025-01-20T16:25:29.350Z (over 1 year ago)
- Topics: docker, nextjs, reactjs, typescript
- Language: TypeScript
- Homepage:
- Size: 141 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Laravel API JWT Auth with Next.js Frontend
There are different types of API authentication systems available in the Laravel application, Like Laravel passport, Laravel sanctum and of course, you can also use JWT authentication. In this JSON Web Token Authentication for Laravel 10 tutorial, we will use JWT to create this API authentication in Laravel.
This project is trying to **use Laravel JWT API as the backend and set up authentication with Next.js as the browser frontend**. JWT API is incorporated to provide the authentication system.
When making requests using API tokens, the token should be included in the Authorization header as a Bearer token.
The Next.js React front pages are styled with Tailwind CSS to follow Laravel Breeze's default view designs.