To-Do Laravel

💭 About

Objective

A modern Laravel application to manage tasks (to-do list) with a dynamic Vue.js frontend.

👨‍💻 Stack Used

⁉ How to use

🤔 Requirements

To be able to run this project, first you will need to have in your machine:

  • Composer to be able to manage the project's dependencies and autoload
  • PHP on version ^8.x
  • Git to be able to clone this repository
  • Docker to be able to run the application
  • NPM or Yarn for the frontend package management.

📝 Steps

Installation

  1. Clone the Repository:

    git clone git@github.com:Gabrielpatrola/laravel-todo.git
    cd laravel-todo
  2. Install Dependencies:

    composer install
  3. Configure Environment:

    • Copy the .env.example file to .env
    cp .env.example .env 
    • Update the .env file if necessary.
  4. Start Laravel sail:

    sail up -d # or ./vendor/bin/sail up -d
  5. Generate an app key:

    sail artisan key:generate # or ./vendor/bin/sail artisan key:generate
  6. Run migrations:

    sail artisan migrate # or ./vendor/bin/sail artisan migrate
  7. Run the Vue.js Development Server:

     sail npm install
     sail npm run dev # or ./vendor/bin/sail npm run dev
  8. Access the Vue.js Application:

    • Open your browser and navigate to http://localhost.
  9. Run tests:

    sail artisan test # or ./vendor/bin/sail artisan test
    # for coverage:
    php artisan test --coverage # or ./vendor/bin/sail artisan test --coverage

Made with 💙 by Gabriel Patrola.