Building an E-commerce platform with Laravel and Vue
This is a demo application showing how to build an e-commerce platform using Laravel and Vue. You can read about how it was created on Pusher's blog.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
What things you need to install the software.
- Laravel CLI.
- A webserver like Nginx or Apache.
- A Node Package Manager ( npm or yarn ).
Clone the git repository on your computer
$ git clone https://github.com/neoighodaro-articles/e-commerce-laravel-vue.git
You can also download the entire repository as a zip file and unpack in on your computer if you do not have git
After cloning the application, you need to install it's dependencies.
$ cd e-commerce-laravel-vue $ composer install
When you are done with installation, copy the
$ cp .env.example .env
Generate the application key
$ php artisan key:generate
Add your database credentials to the necessary
Migrate the application
$ php artisan migrate
Install laravel passport
$ php artisan passport:install
$ php artisan db:seed
Install node modules
$ npm install
Run the application
$ php artisan serve
- Laravel - The PHP framework for building the API endpoints needed for the application