Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bootstrap
bower_components
config
database
public
resources
storage
tests
.gitattributes
.gitignore
artisan
composer.json
composer.lock
gulpfile.js
package.json
phpspec.yml
phpunit.xml
readme.md
server.php

readme.md

Backend Boilerplate

Provides a simple /backend page with login and simple user management to add or remove other admins with access to the backend. The default credentials are admin/admin if nothing else is set in the environment variables. The superadmin won't be visible in the admins table in the backend and cannot be deleted.

Setup

  • composer install
  • npm install
  • gulp
  • Create an .env file in the root dir and add the following:
  APP_ENV=local
  APP_DEBUG=true
  APP_KEY=anyRandomKey
  ADMIN_USER=admin
  ADMIN_PASS=admin
  
  DB_HOST=localhost
  DB_DATABASE=example
  DB_USERNAME=root
  DB_PASSWORD=
  
  CACHE_DRIVER=file
  SESSION_DRIVER=file
  QUEUE_DRIVER=sync
  
  MAIL_DRIVER=smtp
  MAIL_HOST=mailtrap.io
  MAIL_PORT=2525
  MAIL_USERNAME=null
  MAIL_PASSWORD=null
  MAIL_ENCRYPTION=null
  • Edit the DB credentials and prefered admin credentials as needed.
  • Create a new application key by running php artisan key:generate
  • php artisan migrate
  • php artisan serve
  • Enjoy!

License

The Laravel framework is open-sourced software licensed under the MIT license so the same goes for this project.

You can’t perform that action at this time.