This is a webapp I made mostly using Laravel 8 and Vue 3
- Laravel
- Vue 3
- Pinia
- Tailwindcss (to build something clean it has to look clean lol)
- Fetching products
- Creating products
- Filtering products and sorting them by price
PHP >= 7.4
Node >= 16
Clone repo
git clone https://github.com/chenten16/coding-challenge-solution.git
Install Composer
composer update/install
composer install
Install Nodejs
NPM dependencies
npm install
Using Laravel Mix
npm run dev
Go into .env file and change Database
php artisan migrate
php artisan db:seed
Generating a New Application Key
php artisan key:generate
To create product using cli run this command:
php artisan products:create