app package for food tracking. Created using Laravel v8 for API and VueJS v2 with boostrap v4 for frontend
composer create-project laravel/laravel <appName>
or laravel new <appName>
- create applicationphp artisan serve
- run appphp artisan migrate
run all migration filesphp artisan make:migration <tableName>
- then update the file from database/migrations to add columnsphp artisan make:controller <controllerName>
- create controllerphp artisan make:model <modelName>
create a model, adding --migration
- or -m
it will also create migration tablenpm install -g @vue/cli
install cli to simplify thingsvue create <appName>
create a vue app then follow the stepsnpm run serve
compile and run appnpm run build
compile and minify npm i axios
similar to jquery ajaxnpm i vue-router
npm i vue-session
add session to projectnpm i vuex
npm i vue-notification
notification systemnpm i bootstrap
add boostrap to projectnpm i jquery
npm i popper.js
npm i leaflet
npm i qrcode
vue add pwa
- add PWA to a created app