add Basic Shopware API
This commit is contained in:
@@ -12,4 +12,5 @@ return [
|
||||
Symfony\Bundle\SecurityBundle\SecurityBundle::class => ['all' => true],
|
||||
Nelmio\CorsBundle\NelmioCorsBundle::class => ['all' => true],
|
||||
ApiPlatform\Core\Bridge\Symfony\Bundle\ApiPlatformBundle::class => ['all' => true],
|
||||
Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle::class => ['all' => true],
|
||||
];
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
# see https://symfony.com/doc/current/reference/configuration/framework.html
|
||||
framework:
|
||||
secret: '%env(APP_SECRET)%'
|
||||
# SHOPWARE_API_URL: '%env(string:SHOPWARE_API_URL)%'
|
||||
# SHOPWARE_API_KEY: '%env(string:SHOPWARE_API_KEY)%'
|
||||
# SHOPWARE_API_ID: '%env(string:SHOPWARE_API_ID)%'
|
||||
#csrf_protection: true
|
||||
http_method_override: false
|
||||
|
||||
|
||||
@@ -4,6 +4,15 @@
|
||||
# Put parameters here that don't need to change on each machine where the app is deployed
|
||||
# https://symfony.com/doc/current/best_practices.html#use-parameters-for-application-configuration
|
||||
parameters:
|
||||
# the secret key used to generate tokens
|
||||
# you should change it to a secret key that is not public
|
||||
# see https://symfony.com/doc/current/security/token_storage.html#secrets-in-symfony-secrets-v3
|
||||
# the url of the shopware api
|
||||
SHOPWARE_API_URL: '%env(SHOPWARE_API_URL)%'
|
||||
# the api key of the shopware api
|
||||
SHOPWARE_API_KEY: '%env(SHOPWARE_API_KEY)%'
|
||||
# the api id of the shopware api
|
||||
SHOPWARE_API_ID: '%env(SHOPWARE_API_ID)%'
|
||||
|
||||
services:
|
||||
# default configuration for services in *this* file
|
||||
|
||||
Reference in New Issue
Block a user