kemoc/storehouse-api

Simple storehouse API on Symfony 4

Installs: 6

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:symfony-bundle

pkg:composer/kemoc/storehouse-api


README

Install

Add routing to <symfony-root>/config/routes.yaml:

kemoc_storehouse_api:
    resource: ../vendor/kemoc/storehouse-api/Controller/REST
    prefix: /storehouse/api/rest
    type: rest
    name_prefix: storehouse_api_rest_
...

Set <symfony-root>/config/packages/fos_rest.yaml by: <this-bundle>/Resources/doc/fos_rest.yaml

If you do not have database then create it. Configure connection to DB.

Exec (after composer install):

php bin/console doctrine:schema:update --force