See https://github.com/guillaumebriday/todolist-backend-laravel
$ git clone https://github.com/guillaumebriday/todolist-backend-laravel.git $ cd todolist-backend-laravel
cp .env.example .env Change DB settings. IMPORTANT: Before running migrate, make sure .env file is updated with: DB_HOST=127.0.0.1
Run: composer install && php artisan key:generate && php artisan jwt:secret
Which does: $ composer install $ php artisan key:generate $ php artisan jwt:secret
$ php artisan migrate --seed
This will create a new user that you can use to sign in : Email : darthvader@deathstar.ds Password : 4nak1n
Useful commands
Generate fake data: php artisan db:seed --class=DevDatabaseSeeder
Running tests : ./vendor/bin/phpunit --cache-result --order-by=defects --stop-on-defect
Running php-cs-fixer : ./vendor/bin/php-cs-fixer fix --config=.php_cs --verbose --dry-run --diff
Generate backup: php artisan backup:run --only-db
Discover package: php artisan package:discover
See https://github.com/guillaumebriday/todolist-frontend-nuxt
Commands: $ git clone https://github.com/guillaumebriday/todolist-frontend-nuxt.git $ cd todolist-frontend-nuxt $ cp .env.example .env change BASE_URL=http://localhost:8001 $ npm install $ npm run dev
DONT FORGET the .env file