2017 © Pedro Peláez
 

project laravel-ecommerce

AvoRed E Commerce is an Laravel Open Source Shopping Cart

image

avored/laravel-ecommerce

AvoRed E Commerce is an Laravel Open Source Shopping Cart

  • Friday, July 27, 2018
  • by indpurvesh
  • Repository
  • 76 Watchers
  • 491 Stars
  • 1,039 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 199 Forks
  • 5 Open issues
  • 37 Versions
  • 54 % Grown

The README.md

, (*1)

AvoRed an laravel headless e commerce

A headless e commerce GraphQL API which uses Laravel as a backend., (*2)

Installation

Backend APP setup

First thing first we will install laravel backend api service. First thing first we will install the laravel app., (*3)

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, (*4)

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

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

Once the .env setup is done then we can install the AvoRed E commerce, (*6)

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., (*7)

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:, (*8)

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, (*9)

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, (*10)

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, (*11)

    '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, (*12)

The Versions

20/03 2018

2.0

2.0.0.0

AvoRed E Commerce is an Laravel Open Source Shopping Cart

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel framework shop e-commerce laravel 5 ecommerce shopping cart shopping-cart e commerce

10/09 2017

1.8

1.8.0.0

Mage2 Laravel E commerce

  Sources   Download

GPL-3.0

The Requires

 

The Development Requires

laravel framework shop e-commerce ecommerce laravel5 shopping cart shopping-cart e commerce

04/06 2017

1.5

1.5.0.0

Mage2 Laravel5 Ecommerce.

  Sources   Download

GPL-3.0

The Requires

 

The Development Requires

laravel framework shop e-commerce ecommerce laravel5 shopping cart shopping-cart e commerce

01/05 2017

1.4

1.4.0.0

Mage2 Laravel5 Ecommerce.

  Sources   Download

GPL-3.0

The Requires

 

The Development Requires

laravel framework shop e-commerce ecommerce laravel5 shopping cart shopping-cart e commerce

19/04 2017

1.3

1.3.0.0

Mage2 Laravel5 Ecommerce.

  Sources   Download

GPL-3.0

The Requires

 

The Development Requires

laravel framework shop e-commerce ecommerce laravel5 shopping cart shopping-cart e commerce

24/03 2017

1.2

1.2.0.0

Mage2 Laravel5 Ecommerce.

  Sources   Download

GPL-3.0

The Requires

 

The Development Requires

laravel framework shop e-commerce ecommerce laravel5 shopping cart shopping-cart e commerce

06/03 2017

1.1

1.1.0.0

Mage2 Laravel5 Ecommerce.

  Sources   Download

GPL-3.0

The Requires

 

The Development Requires

laravel framework shop e-commerce ecommerce laravel5 shopping cart shopping-cart e commerce

10/02 2017

1.0

1.0.0.0

Mage2 Laravel5 Ecommerce.

  Sources   Download

GPL-3.0

The Requires

 

The Development Requires

laravel framework shop e-commerce ecommerce laravel5 shopping cart shopping-cart e commerce

17/11 2016

0.9

0.9.0.0

Mage2 Laravel5 Ecommerce.

  Sources   Download

GPL-3.0

The Requires

 

The Development Requires

laravel framework shop e-commerce ecommerce laravel5 shopping cart shopping-cart e commerce

16/10 2016

0.8

0.8.0.0

The Laravel Framework.

  Sources   Download

GPL-3.0

The Requires

 

The Development Requires

laravel framework shop e-commerce ecommerce laravel5 shopping cart shopping-cart e commerce

04/09 2016

0.5.1

0.5.1.0

The Laravel 5 E commerce.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

laravel framework shop e-commerce ecommerce laravel5 shopping cart shopping-cart e commerce

31/08 2016

0.5

0.5.0.0

The Laravel 5 E commerce.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

laravel framework shop e-commerce ecommerce laravel5 shopping cart shopping-cart e commerce

13/08 2016

0.2.1

0.2.1.0

The Laravel 5 E commerce.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

laravel framework shop e-commerce ecommerce laravel5 shopping cart shopping-cart e commerce

12/08 2016

0.2

0.2.0.0

The Laravel 5 E commerce.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

laravel framework shop e-commerce ecommerce laravel5 shopping cart shopping-cart e commerce

11/08 2016

0.1.0

0.1.0.0

The Laravel 5 E commerce.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

laravel framework shop e-commerce ecommerce laravel5 shopping cart shopping-cart e commerce