Skip to content

Latest commit

 

History

History
38 lines (33 loc) · 1.18 KB

File metadata and controls

38 lines (33 loc) · 1.18 KB

laravel-middleware

Create an Admin Middleware in Laravel 8 app The purpose of this repository is to show good development practices on Laravel as well as to present cases of use of the framework's features like:

Installation

Setting up your development environment on your local machine :

$ git clone https://github.com/Letecode/laravel-middleware.git
$ cd laravel-middleware
$ cp .env.example .env
$ composer install
$ npm install

Before starting

You need to run the migrations after Database has been created :

$ php artisan migrate
$ php artisan db:seed 
$ php artisan key:generate

This will create a new user that you can use to sign in :

 email = admin@gmail.com, password = 12345678   
         user@gmail.com, password' =13456
         client@gmail.com, password = '13456'
         
run 
```bash
$ php artisan serve

Now you can access the application via http://localhost:8000.