A modern Laravel application to manage tasks (to-do list) with a dynamic Vue.js frontend.
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.
-
Clone the Repository:
git clone git@github.com:Gabrielpatrola/laravel-todo.git cd laravel-todo
-
Install Dependencies:
composer install
-
Configure Environment:
- Copy the
.env.example
file to.env
cp .env.example .env
- Update the
.env
file if necessary.
- Copy the
-
Start Laravel sail:
sail up -d # or ./vendor/bin/sail up -d
-
Generate an app key:
sail artisan key:generate # or ./vendor/bin/sail artisan key:generate
-
Run migrations:
sail artisan migrate # or ./vendor/bin/sail artisan migrate
-
Run the Vue.js Development Server:
sail npm install sail npm run dev # or ./vendor/bin/sail npm run dev
-
Access the Vue.js Application:
- Open your browser and navigate to
http://localhost
.
- Open your browser and navigate to
-
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.