This application is built using Laravel and Vuejs. A user create account and list products, this items he list containing picture, title and description. all users items for public access. the application provide users to update their password. so let's describe and anatomy the applicaiton. so let's describe and explain how it's work.
Please check the official laravel 6.0.3 installation guide for server requirements before you start. Official Documentation
Clone the repository
git clone [email protected]:anassbaba/Laravel-VueJS-coding-challenge.git
Switch to the repo folder
cd Laravel-VueJS-coding-challenge
Install all the dependencies using composer
composer install
Generate a new application key
php artisan key:generate
Run the database migrations (Set the database connection in .env before migrating)
php artisan migrate
Start the local development server
php artisan serve
You can now access the server at http://localhost:8000
requires at least node v.8.5.0.
npm install
requires infinite scroll plugin for Vue.js
npm i vue-infinite-loading
requires vue-resource plugin for Vue.js
npm install vue-resource
And run the following in your terminal/console
npm run dev
Export with
npm run export
This model pages accessed by worldwide you don't need authentication.
- Register.
- Login.
- Preview all product items.
This model pages needs authentication.
- Preview all products items.
- Preview created items.
- Create new item.
- Remove item.
- Update password.
$ php artisan user:create
$ php artisan user:update-password
$ php artisan fake:data
If you have any questions, contact me :
Full name : Anass baba
Email : [email protected]
Phone : +212 602860326