Code Monkey home page Code Monkey logo

laravel-ecommerce's Introduction

Build Status Total Downloads Latest Stable Version License

Demo

INDEX Page

image

Product Slide image

PRODUCTS Page

image

Algolia Search

image

PRODUCT DETAIL Page

image

CART PAGE

image

Shipping Page

image

Stripe Payment success

image

LOGIN Page

image

ADMIN PAGE

image

Installation

Clone the repo and cd into it

composer install

Rename or copy .env.example file to .env

php artisan key:generate

Set your database credentials in your .env file

Set your Braintree credentials in your .env file if you want to use PayPal. Specifically BT_MERCHANT_ID, BT_PUBLIC_KEY, BT_PRIVATE_KEY. If you don't, it should still work but won't show the paypal payment at checkout.

Set your APP_URL in your .env file. This is needed for Voyager to correctly resolve asset URLs.

Set ADMIN_PASSWORD in your .env file if you want to specify an admin password. If not, the default password is 'password'

php artisan ecommerce:install. This will migrate the database and run any seeders necessary.

npm install

npm run dev

npm run watch

php artisan make:migration

php artisan migrate

php artisan db:seed

php artisan serve

localhost:8000

localhost:8000/admin/login

Admin User/Password: [email protected]/password.

Admin Web User/Password: [email protected]/password

Stripe

Enter your stripe key and Enter your stripe secret in .env file.

these keys can be get from https://dashboard.stripe.com/test/dashboard by creating stripe account

STRIPE_KEY   = Enter your stripe key

STRIPE_SECRET= Enter your stripe secret

Algolia

Enter your algolia app_id and Enter your algolia secret in .env file.

these keys can be get from https://www.algolia.com/apps/ by creating algolia account

ALGOLIA_APP_ID = Enter your algolia app_id

ALGOLIA_SECRET = Enter your algolia secret

Package used

Stripe payment : https://github.com/cartalyst/stripe-laravel

Shopping cart : https://github.com/hardevine/LaravelShoppingcart

laravel-ecommerce's People

Contributors

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