StephOC / Laravel-API

Learning Laravel 🔥

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Laravel API

On my blog thewhitefox.ninja part of my learning Laravel & VueJS

Running the API

Create the database (and database user if necessary) and add them to the .env file.

DB_DATABASE=your_db_name DB_USERNAME=your_db_user DB_PASSWORD=your_password

Then install, migrate, seed:

composer install
php artisan migrate
php artisan db:seed
php artisan serve

The API will be running on localhost:8000/register

8 authentication run:

composer require laravel/ui
php artisan ui vue
php artisan ui bootstrap --auth

Read more here https://laravel.com/docs/8.x/authentication

About

Learning Laravel 🔥


Languages

Language:PHP 71.7%Language:Blade 27.3%Language:Shell 0.6%Language:Vue 0.4%