monderka / nette-graphql-project
Skeleton for Nette GraphQL service
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
Requires
- php: >=8.1
- ext-bcmath: *
- ext-mbstring: *
- ext-pdo_mysql: *
- contributte/apitte: ^0.12.1
- contributte/cache: ^0.6.0
- contributte/console: ^0.10.1
- contributte/redis: ^0.5.4
- monderka/doctrine-tools: ^1.0
- monderka/jwt-parser: ^1.0
- nette/bootstrap: ^3.2
- nettrine/dbal: ^0.8.2
- nettrine/fixtures: ^0.7.2
- nettrine/migrations: ^0.9.1
- nettrine/orm: ^0.8.4
- portiny/graphql-nette: ^7.0
- tracy/tracy: ^2.10
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.51
- php-parallel-lint/php-console-color: ^1.0
- php-parallel-lint/php-parallel-lint: ^1.3
- phpstan/phpstan: ^1.10
- phpunit/phpunit: ^10.5
- squizlabs/php_codesniffer: ^3.9
README
This is preconfigured PHP backend project base on Nette, Doctrine and php-graphql It has preconfigured Dockerfile for development, Doctrine with PDO_MYSQL, fixtures, migrations and REDIS cache.
Requirements
- Docker
- OpenSSL
Without DOCKER you need:
- PHP>=8.1 with pdo_mysql, mbstring and bcmath extensions
- OpenSSL
- Redis tools
Contains
[ https://doc.nette.org/en/application/bootstrap ]
[ https://contributte.org/packages/contributte/apitte/ ]
[ https://github.com/portiny/graphql-nette ]
[ https://contributte.org/packages/contributte/doctrine-orm.html ]
[ https://contributte.org/packages/contributte/doctrine-migrations.html ]
[ https://contributte.org/packages/contributte/doctrine-dbal.html ]
[ https://contributte.org/packages/contributte/doctrine-fixtures.html ]
[ https://contributte.org/packages/contributte/console.html ]
[ https://tracy.nette.org/ ]
[ https://contributte.org/packages/contributte/redis.html ]
[ https://contributte.org/packages/contributte/cache.html ]
[ https://github.com/monderka/jwt-parser ]
[ https://github.com/monderka/doctrine-tools ]
Installation
composer create-project monderka/nette-graphql-project path/to/install
cd path/to/install
Build docker image
docker build -f Dockerfile.dev -t nette-graphql-project .
Run service
docker run nette-graphql-project:latest