Overview
The Laravel API (with admin panel) boilerplate is a simple starter template for building an API with Laravel 5.5. It includes an admin panel built with the Admin LTE theme and utilizes an API access token with BCrypt encryption. The template provides a basic setup for creating a Laravel API with user authentication and an admin module.
Features
- API access token encapsulated with BCrypt encryption
- Integration of the Admin LTE theme for the admin module
- User authentication with required fields such as name, email, password, and is_admin
Installation
To start using the Laravel API (with admin panel) boilerplate, follow these steps:
- Download the repository or clone it using the command
git clone [repository-url] [folder-name] - Rename the
.env.examplefile to.env - Configure the database settings in the
.envfile by creating a new database and specifying the database name - Run the migration command
php artisan migrateto create the necessary tables (users and application) - Run the seeder command
php artisan db:seedto populate the tables with a client entry in the application table and two users entries in the users table (one admin and one normal user) - Configure the email settings in the
.envfile if needed - Start the project by running the command
php artisan serve
Summary
The Laravel API (with admin panel) boilerplate is a ready-to-use template for building an API with Laravel 5.5. It includes features such as API access token encryption, an admin module using the Admin LTE theme, and user authentication. By following the installation guide, users can quickly set up the boilerplate and start developing their API.