SPA Online FakeStore on Laravel and Vue where you can order products from home. With the ability for the admin to track statistics on sales and top-selling products. Frequently requested data is cached using Redis. CRUD for products, orders.
Frontend: Vue.js 3, TypeScript, Pinia, Chart.js, VueRouter, Axios, UIkit, Vite, ESlint
Backend: Laravel 10, PHP 8.3, Redis, MySQL
Docker, Nginx, PHP:8.3-FPM
- Admin panel with the ability to manage products, view statistics and orders, products in the form of lists and tables.
- Displaying monthly statistics on orders and best-selling products using chart.js
- RESTful API with roles. Admin panel
- Deploying an application via docker
- SPA
- ERP
- Caching frequently accessed data using redis
- The project is covered with tests
Clone the project
git clone https://github.com/Denis10491/storeGo to the project directory
cd storeInstall dependencies
composer install npm installCopy from .env.example to .env and configure the configurations described above
Connect image storage
php artisan storage:linkRun docker compose
docker-compose up -dGenerate application key
docker-compose exec app php artisan key:generateRun migrations
docker-compose exec app php artisan migrate:freshRun seeds
docker-compose exec app php artisan db:seed --class=DatabaseSeeederRun a local server for the client side
npm run devAdd fakestore to hosts in OS Open project: http://fakestore
