Skip to content

Repository files navigation

Laravel Starter

Documentation Link- ChatGPT

My Site

About Repository

A very simple Laravel 12 + Vue 3 + AdminLTE 3 based Curd Starter template for SPA Application.

Tech Specification

  • Laravel 12
  • React/Vue + VueRouter
  • Laravel Breeze
  • Admin LTE 3 + Bootstrap 4 + Font Awesome 5
  • PHPUnit Test Case/Test Coverage
  • Moodle LMS + AI

Features

  • Frontend and Backend User ACL with Gate Policy (type: admin/user)

Installation

  • git clone https://github.com/mykinde/week1.git
  • cd laravel-starter/
  • composer install
  • cp .env.example .env
  • Update .env and set your database credentials
  • php artisan key:generate
  • php artisan migrate
  • php artisan db:seed
  • php artisan passport:install
  • npm install
  • npm run dev
  • php artisan serve

Install with Docker

Unit Test

run PHPUnit

# run PHPUnit all test cases
vendor/bin/phpunit
# or Feature test only
vendor/bin/phpunit --testsuite Feature

Code Coverage Report

# reports is a directory name
vendor/bin/phpunit --coverage-html reports/

A reports directory has been created for code coverage report. Open the dashboard.html.

Credit

This repository is motivated by mykinde/week1 and his awesome video tutorial in Youtube.

License

MIT license.

About

laravel training week 1

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages