Zurück zum Ranking

avored/laravel-ecommerce

TypeScriptavored.com

AvoRed an Open Source Laravel Shopping Cart

ecommercelaravelshopping-cartshoppingphpcartlaravel5-ecommercelaravel-ecommerceopen-sourceorderorder-managementorder-return
Sterne-Wachstum
Sterne
1.5k
Forks
541
Wochenwachstum
Issues
44
5001k1.5k
Nov. 2015Mai 2019Dez. 2022Juli 2026
Artefaktenpmnpm install laravel-ecommerce
README

AvoRed an laravel headless e commerce

A headless e commerce GraphQL API which uses Laravel as a backend.

Installation

Backend APP setup

First thing first we will install laravel backend api service. First thing first we will install the laravel app.

composer create-project laravel/laravel avored-backend
cd avored-backend
composer require avored/framework
composer require avored/dummy-data
composer require avored/cash-on-delivery
composer require avored/pickup

Set up your .env values and CORS

To fixed the CORS in your laravel8 app. You can open config/cors.php and replace the code like below in the file.

'allowed_origins' => ['http://localhost:8080'],

Once the .env setup is done then we can install the AvoRed E commerce

php artisan avored:install
php artisan vendor:publish --provider="AvoRed\Framework\AvoRedServiceProvider"
yoursite.com/graphiql

Once the avored/framework has been installed after that we will make sure we setup the CORS to allow access of an graphql api via any frontend.

Frontend APP Setup
git clone https://github.com/avored/laravel-ecommerce avored-frontend
cd avored-frontend
npm install
npm run serve

Installation via Docker

Execute the below command:

git clone https://github.com/avored/docker-dev.git
cd docker-dev

git clone https://github.com/avored/laravel-ecommerce ./src/frontend
docker-compose up -d
docker-compose run --rm composer create-project laravel/laravel:8.6 ./
docker-compose run --rm composer require avored/framework
docker-compose run --rm composer require avored/dummy-data avored/cash-on-delivery avored/pickup

Now setup .env file. Open a avored app .env file which is located at ./src/backend/.env then setup your database and any other env as per your docker-compose.yml file

DB_HOST=mysql
DB_DATABASE=homestead
DB_USERNAME=homestead
DB_PASSWORD=secret

Now we just have to install the AvoRed and create an avored admin user account

docker-compose run --rm artisan avored:install
docker-compose run --rm artisan vendor:publish --provider="AvoRed\Framework\AvoRedServiceProvider"

Now we need to setup CORS so frontend application can receive api call from backnd. Open ./src/backend/config/cors.php then replace the below line

    'paths' => ['/graphql', 'sanctum/csrf-cookie'],
    'allowed_origins' => ['http://localhost:8060'],

That's It. Now you can visit http://localhost:8060 for frontend and for backend you can visit http://localhost:8050/admin

Ähnliche Repositories
medusajs/medusa

The world's most flexible commerce platform.

TypeScriptnpmMIT Licensenodejsmedusa
medusajs.com
35.3k5k
bagisto/bagisto

Free and open source laravel eCommerce platform

PHPPackagistMIT Licenseecommerce-frameworklaravel
bagisto.com
27.8k3.2k
saleor/saleor

Saleor Core: the high performance, composable, headless commerce API.

PythonPyPIBSD 3-Clause "New" or "Revised" Licensepythonstore
saleor.io
23.1k6.1k
spree/spree

Open Source eCommerce Platform for B2B, Marketplace, and Enterprise. REST API, TypeScript SDK, and production-ready Next.js storefront. Self-host it. Own your stack. No vendor lock-in. Zero platform fees.

RubyRubyGemsBSD 3-Clause "New" or "Revised" Licenseecommercee-commerce
spreecommerce.org
15.6k5.3k
vercel/commerce

Next.js Commerce

TypeScriptnpmMIT Licenseecommercereact
demo.vercel.store
14.2k5.4k
reactioncommerce/reaction

Project has been discontinued ////// Mailchimp Open Commerce is an API-first, headless commerce platform built using Node.js, React, GraphQL. Deployed via Docker and Kubernetes.

JavaScriptnpmGNU General Public License v3.0ecommerce-platformecommerce
mailchimp.com/developer/open-commerce/
12.4k2.2k
magento/magento2

Prior to making any Submission(s), you must sign an Adobe Contributor License Agreement, available here at: https://opensource.adobe.com/cla.html. All Submissions you make to Adobe Inc. and its affiliates, assigns and subsidiaries (collectively “Adobe”) are subject to the terms of the Adobe Contributor License Agreement.

PHPPackagistOpen Software License 3.0magentomagento2
magento.com
12.1k9.4k
vuestorefront/vue-storefront

Alokai is a Frontend as a Service solution that simplifies composable commerce. It connects all the technologies needed to build and deploy fast & scalable ecommerce frontends. It guides merchants to deliver exceptional customer experiences quickly and easily.

vue-storefrontpwa
alokai.com
10.9k2.1k
woocommerce/woocommerce

A customizable, open-source ecommerce platform built on WordPress. Build any commerce solution you can imagine.

PHPPackagistwoocommercewordpress
woocommerce.com
10.4k10.7k
evershopcommerce/evershop

🛍️ Typescript E-commerce Platform

TypeScriptnpmGNU General Public License v3.0ecommerceecommerce-framework
evershop.io
10.2k2.4k
nopSolutions/nopCommerce

ASP.NET Core eCommerce software. nopCommerce is a free and open-source shopping cart.

C#Otherecommerceshopping-cart
nopcommerce.com
10.1k6k
PrestaShop/PrestaShop

PrestaShop is the universal open-source software platform to build your e-commerce solution.

PHPPackagistOtherprestashopecommerce
prestashop-project.org
9.2k5k