Lara-Todo
This is a course that I took at Udmey, to create a todo website with Laravel and Vue.js
Start
First we need to download and setup Composer. After that we setup the project:
composer create-project laravel/laravel TodoList
After that we need to require the laravel ui:
composer require laravel/ui
And for the Vue we need to install artisan vue:
php artisan ui vue
After that open the .env file and set your database information init. Like database name, server, port ....
Note
If you got the error "No Application Encryption Key Has Been Specified" just run the command bellow:
php artisan key:generate
Before using Laravel's encrypter, you must set a key option in your config/app.php configuration file.
Click here for more.
And for the final setup use the following command:
npm run watch
Run
When you want to run the application, first you need to setup the server by the following command:
php artisan serv
This will create a local server for you.
And you need to run the following code for the front application:
npm run watch