/Todo-Application

Primary LanguagePHPMIT LicenseMIT

TODO Application SPA with Laravel and Vue

Requirements:

PHP ^7.3|^8.0

Initial Setup:

  1. Clone project
  2. Run "composer install"
  3. Copy .env.example to .env
  4. Run "php artisan key:generate"
  5. Run "php artisan jwt:secret"
  6. Run "npm install"

MySQL setup

Change the following in your .env file:

  • DB_CONNECTION=mysql
  • DB_HOST=127.0.0.1
  • DB_PORT=3306
  • DB_DATABASE= #YOUR DATABASE NAME
  • DB_USERNAME= #YOUR MySQL USERNAME
  • DB_PASSWORD= #YOUR MySQL PASS

To your local database

  1. Run "composer dump-autoload"
  2. Run "php artisan migrate"
  3. Run "npm run dev" or "npm run watch"