• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

neoighodaro-articles/e-commerce-laravel-vue: How to create an e-commerce applica ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

neoighodaro-articles/e-commerce-laravel-vue

开源软件地址(OpenSource Url):

https://github.com/neoighodaro-articles/e-commerce-laravel-vue

开源编程语言(OpenSource Language):

PHP 70.9%

开源软件介绍(OpenSource Introduction):

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.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

What things you need to install the software.

  • Git.
  • PHP.
  • Composer.
  • Laravel CLI.
  • A webserver like Nginx or Apache.
  • A Node Package Manager ( npm or yarn ).

Install

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

Setup

  • When you are done with installation, copy the .env.example file to .env

    $ cp .env.example .env

  • Generate the application key

    $ php artisan key:generate

  • Add your database credentials to the necessary env fields

  • Migrate the application

    $ php artisan migrate

  • Install laravel passport

    $ php artisan passport:install

  • Seed Database

    $ php artisan db:seed

  • Install node modules

    $ npm install

Run the application

$ php artisan serve

Built With

  • Laravel - The PHP framework for building the API endpoints needed for the application
  • Vue - The Progressive JavaScript Framework for building interactive interfaces

Acknowledgments

  • Laravel - The excellent documentation explaining how to get started with Laravel and Laravel Passport made it easy to provide a step by step guide for beginners to follow the application
  • Vue - Concise documentation



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap