Laravel Jwt Rest Api

screenshot of Laravel Jwt Rest Api

A minimal REST API boilerplate containing JWT for authentication, inspired by Laravel Breeze

Overview:

This repository contains a Laravel 10 with JWT authentication boilerplate using the tymon/jwt-auth package. It is inspired by the Laravel Breeze package and includes a dedicated frontend created using Next.js, Tailwind CSS, and NextAuth. The application features JWT authentication, profile updating, password changing, tests using Pest, and Laravel Telescope (disabled by default).

Features:

  • JWT Authentication: Includes features such as login, register, password reset, and email verification.
  • Profile Updating: Users can update their profiles within the application.
  • Password Changing: Users can change their passwords within the application.
  • Tests using Pest: The application is equipped with testing capabilities using the Pest framework.
  • Laravel Telescope: Laravel Telescope is included in the boilerplate, but it is disabled by default.

Summary:

This boilerplate provides a Laravel 10 application with JWT authentication and a Next.js frontend. It offers various features such as login, register, password reset, and email verification. Users can update their profiles and change their passwords. The application includes tests using Pest and has Laravel Telescope installed but disabled by default. It is a REST API focused project and does not make use of JavaScript or asset builders. The project is open-source and licensed under the MIT license. Contributions and suggestions are welcome.