Skip to content

StephOC/Laravel-API

Repository files navigation

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 🔥

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages