Put api token from packt in .env with PACKT_API_TOKEN
as key pls refer .env.example
if needed
from root of the project run
composer install
php artisan serve
assets are already compiled but if need to recompile
npm install
npm run watch
- Laravel (backend)
- Bootstrap (CSS framework)
- React (frontend)
- Reduxjs Toolkit (state managment)
In the assessment, I have used following packt APIs
- /products
- /products/
- /products//cover/small
- /products//cover/price
for api documentation and token retrieval please read docs here
- All the routes are written
routes/api.php
and all are public by default. - Packt api implementation could be found in repositories.
- Used files as cache driver
- Frontend code could be found in
resources
folder