Skip to content

Sample Admin Template using Laravel 11, Breeze, Spatie, Tailwind Css (Dashboard Template)

License

Notifications You must be signed in to change notification settings

M2nrts211/sadmin

 
 

Repository files navigation

sadmin

Sample Admin Template using Laravel, Breeze, Spatie, Tailwind Css (Dashboard Template) Intended to eliminate repititive tasks of creating admin with user, role & permission and some basic configurations to enable fast development of Laravel web apps.

Steps to Run After Cloning

  1. Duplicate the .env.example File
    In the project root directory, create a copy of the .env.example file and rename it to .env.

  2. Configure Database Settings
    Open the newly created .env file and update the database configuration with your preferred settings. For example:

    DB_CONNECTION=mysql
    DB_HOST=127.0.0.1
    DB_PORT=3306
    DB_DATABASE=sadmin
    DB_USERNAME=root
    DB_PASSWORD=
  3. Install Composer Dependencies
    Run the following command to install PHP dependencies:

    composer install
  4. Generate Application Key
    Generate a new application key using the command:

    php artisan key:generate
  5. Run Migrations and Seed the Database
    Set up the database by running migrations and seeding:

    php artisan migrate
    php artisan migrate:fresh --seed
  6. Install Node.js Dependencies
    Install JavaScript dependencies with:

    npm install
  7. Build Assets
    Compile and optimize assets using:

    npm run build
  8. Start the Development Server
    Launch the development server with:

    php artisan serve
  9. Use Credintials to test
    Use this default username and password respectively to login

    (optional) you can use /admin to explore the integrated prebuilt Tailwind Dashboard and its components

Watch the Setup Video

Check out the setup video for the "sadmin" template here:

Watch the video

Useful Links

About

Sample Admin Template using Laravel 11, Breeze, Spatie, Tailwind Css (Dashboard Template)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Blade 67.9%
  • PHP 31.6%
  • Other 0.5%