Best practices on Laravel to present cases of use of the framework's features like:
- Authentication
- API
- Token authentication
- API Resources
- Versioning
- Blade
- Broadcasting
- Cache
- Filesystem
- Helpers
- Localization
- Migrations
- Policies
- Providers
- Requests
- Seeding & Factories
- Testing
- Homestead
Beside Laravel, this project uses other tools like:
Setting up your development environment on your local machine :
$ git clone https://github.com/GRkode/app_blog.git
$ cd app_blog
$ cp .env.example .env
$ composer install
$ php artisan key:generate
$ php artisan storage:link
$ php artisan serve
Now you can access the application via http://localhost:8000.
You need to run the migrations with the seeds :
$ php artisan migrate --seed
This will create a new user that you can use to sign in :
email: [email protected]
password: password
email: [email protected]
password: password
Seeding the database :
$ artisan db:seed
In development environnement, rebuild the database :
$ php artisan migrate:fresh --seed
This project is released under the MIT license.