Skip to content
This repository has been archived by the owner on Jul 9, 2023. It is now read-only.

Rebuild the todo website with Laravel and Vue.js

License

Notifications You must be signed in to change notification settings

amirhnajafiz-archive/lara-todo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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