Laravel Api Admin Boilerplate screenshot

Laravel Api Admin Boilerplate

Author Avatar Theme by Binitghetiya
Updated: 23 Jul 2020
15 Stars

This is a simple boiler plate for laravel(5.5) API with Admin LTE theme.

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:

  1. Download the repository or clone it using the command git clone [repository-url] [folder-name]
  2. Rename the .env.example file to .env
  3. Configure the database settings in the .env file by creating a new database and specifying the database name
  4. Run the migration command php artisan migrate to create the necessary tables (users and application)
  5. Run the seeder command php artisan db:seed to 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)
  6. Configure the email settings in the .env file if needed
  7. 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.