GithubHelp home page GithubHelp logo

deeftah / e-commerce-fish-store Goto Github PK

View Code? Open in Web Editor NEW

This project forked from eevan7a9/e-commerce-fish-store

0.0 1.0 0.0 3.25 MB

Fullstack Single-page-application e-commerce integrated with Stripe API

Home Page: http://onlinestorefish.rf.gd/

License: MIT License

PHP 44.01% HTML 0.22% JavaScript 6.81% Vue 46.75% CSS 0.83% Shell 0.28% Blade 1.08%

e-commerce-fish-store's Introduction

e-commerce-fish-store

Online-store with Stripe that facilitate online transactions of koi(s) and services through means of the transfer of information and funds over the Internet.

  • FULLSTACK
  • SPA
  • Vue js vue-cli
  • Laravel 6
  • Stripe API
  • Passport
  • Mysql

Configure Frontend:

  • install dependencies

    navigate to frontend-fish-store/ open terminal and run :

    npm install

  • setup backend url

    1. Navigate and open frontend-fish-store/src/store/index.js

    2. Set backend-api url.

      eg. axios.defaults.baseURL = "http://localhost:8000/public/api/";
      
  • add stripe publish_key

    1. Navigate and open frontend-fish-store/src/views/CheckoutStripe.vue

    2. Set Stripe publish key.(line 84)

      eg.
      let stripe = Stripe(`pk_test_7nk...`)
      

Initialize Frontend

  • run to serve

    npm run serve

Configure Backend:

  • requirements:

    1. Php Composer
    2. Mysql Server
  • add Database info and Stripe Info

    Navigate backend-fish-store/:

    Copy .env.example as .env

    add database info:

    DB_CONNECTION=mysql
    DB_HOST=127.0.0.1
    DB_PORT=3306
    DB_DATABASE=database_name
    DB_USERNAME=root
    DB_PASSWORD=database_password
    

    add Stripe secret_key

    STRIPE_SK='secret_key'
    

Navigate backend-fish-store/ open terminal and run:

  • install dependencies:

    composer install

  • add database migrations

    php artisan migrate

  • Add database dummies

    php artisan db:seed

  • Install Laravel Passport

    php artisan passport:install

  • generate key

    php artisan key:generate

Initialize backend

php artisan serve

e-commerce-fish-store's People

Contributors

eevan7a9 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.