Skip to content

PHP 8 | Laravel 8 | TailwindCss - CRUD made by Laravel 8, using Sail, Jetstream, Sanctum...

Notifications You must be signed in to change notification settings

leohmoraes/laravel8-php8-cicd

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project:

Laravel 8 with CRUD: users, favorite movies, products and tags

To Run

  • Requirements: Docker

Using Sail

git clone https://github.com/estudos-2022/crud-laravel8-app.git appLaravel8
cd appLaravel8
composer install
./vendor/bin/sail up
cp .env.example .env
./vendor/bin/sail php artisan key:generate
touch database/database.sqlite
./vendor/bin/sail php artisan migrate
./vendor/bin/sail php artisan db:seed

Using Local Server

# Clone
git clone https://github.com/estudos-2022/crud-laravel8-app.git appLaravel8

# Enter in folder
cd appLaravel8

# Install depedencies
composer install

# Copy the variable of enviroment, and revise the config
cp .env.example .env

# Create the key
php artisan key:generate

# Create the database of Sqlite, except if to use other DB 
touch database/database.sqlite

# Run migration to create the tables of database - to run seed together [php artisan migrate::refresh --seed]
php artisan migrate

# Run Seed to create some data (roles...) 
php artisan db:seed

After, visit the following address: http://localhost

To run Unit Test: ./vendor/bin/sail test or php artisan test

License

This project is open-sourced software licensed under the MIT license.

About

PHP 8 | Laravel 8 | TailwindCss - CRUD made by Laravel 8, using Sail, Jetstream, Sanctum...

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 61.0%
  • Blade 38.4%
  • Shell 0.6%