GithubHelp home page GithubHelp logo

chenliqiang8888 / laravel_shop_cart Goto Github PK

View Code? Open in Web Editor NEW

This project forked from giantvlad/laravel_shop_cart

0.0 1.0 0.0 8.49 MB

e-shop on Laravel8 + Vue.js PHP8

Home Page: https://uls.northeurope.cloudapp.azure.com/

License: MIT License

PHP 71.23% Vue 8.07% Shell 0.28% Blade 20.42%

laravel_shop_cart's Introduction

This is a Laravel + Vue.js e-commerce template that will make it easy for you to start your own online store.

There is the DEMO ULE-shop.

Video presentation

sshot_shop

  1. Setup (install/create) Database and PHP server.
  2. Install Composer
  3. Install npm.
  4. Install git. Get this project from Github (git clone).
  5. Copy ".env.example" file and rename to ".env". Edit the .env file (connect to DB).
  6. Run "composer update".
  7. Run "npm install", then "npm run dev".
  8. Run "php artisan key:generate". It will add application key to the .env file.
  9. Run "php artisan migrate" Laravel Migrations.
  10. Important! It's the correct way to seeding: "php artisan db:seed --class=DatabaseSeeder" Laravel Seeding.
  11. Setup "Document root" for your project on server like ".../my_example_shop/public".
  12. For testing back-end: copy and rename .env.testing.example to .env.testing, then add your app_key from .env file and run the command "php artisan test"
  13. For testing Vue.js run the command "npm run test"
  14. To check code quality run: ./vendor/bin/phpstan analyse --memory-limit=2G. Setup code quality Level 0-8 in the file phpstan.neon.

Docker-compose for local development:

  • setup docker and docker-compose on your local machine.
  • create the .local_data folder in the folder with your project
  • install mkcert and generate ssl certificates:
brew install mkcert nss
mkcert -cert-file .docker/nginx/dev/site.crt -key-file .docker/nginx/dev/site.key localhost 127.0.0.1
  • run docker-compose up -d

Uladzimir Sadkou: [email protected]

laravel_shop_cart's People

Contributors

giantvlad avatar dependabot[bot] avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.