Laravel Jwt Rest Api

screenshot of Laravel Jwt Rest Api

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

Overview

If you're looking to kickstart a new web application with a solid foundation, this Laravel 10 boilerplate featuring JWT authentication is a commendable choice. Built with best practices in mind, it seamlessly integrates essential features that will help streamline your development process. This boilerplate not only supports a robust backend but is also paired with a dedicated Next.js frontend, making it easier to create dynamic and responsive web applications.

By leveraging technologies like Tailwind CSS for styling and NextAuth for authentication, this setup ensures that developers can focus on building their applications without getting bogged down by repetitive boilerplate code. With comprehensive features designed for security and testing, it offers developers a strong starting point for any project.

Features

  • JWT Authentication: Simple and secure user login, registration, password reset, and email verification processes using JSON Web Tokens.
  • Profile Updating: Allows users to easily update their profile information, providing a better user experience.
  • Password Changing: Users can change their passwords securely, enhancing account protection.
  • Testing with Pest: Comes with Pest as the testing framework, enabling developers to easily create and run automated tests.
  • Laravel Telescope: Although disabled by default, Laravel Telescope is included for monitoring application requests and debugging.
  • Larastan Integration: Utilizes Larastan for static analysis, ensuring code quality and early detection of potential issues.
  • Husky Setup: Utilizes Husky to enforce code quality checks by running Larastan, Pint, and Pest before commits.
  • Open Source: Licensed under MIT, allowing for customization and contributions, fostering community-driven development.