Skip to content

yodakoi/graphql-symfony-skeleton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

graphql-symfony-skeleton

Getting started

Part of this project is copied from https://github.com/duck-invaders/graphql-symfony

This is a complete stack for running Symfony 5 (LTS Version) into Docker containers using docker-compose tool.

I'll try to add some others fixtures :

  • Integrate phpmyadmin interface
  • Create graphql samples
  • Compiler pass use (Example : share content via linkedin, twitter, facebook, ...)
  • Makefile
  • TestUnit (To do)

Prerequisites

This bundle requires Symfony 5 and the openssl extension.

Installation

  1. First, clone this repository:
$ git clone https://github.com/tigersf2/graphql-symfony-skeleton.git
  1. Start Containers and install dependencies

Next, put your Symfony application into symfony folder and do not forget to add symfony.localhost in your /etc/hosts file.

Make sure you adjust database_host in parameters.yml to the database container alias "mariadb"

Then, run:

$ make up
$ make start
$ make composer
$ make database-create
$ make database-update
  1. Configure database into .env file
DATABASE_URL=mysql://symfony:symfony@mariadb:3306/symfony

Note : you can rebuild all Docker images by running:

$ make build

Access

You are done, you can visit your Symfony application

  1. Symfony application
http://symfony.localhost
  1. Graphiql
http://symfony.localhost/graphiql
  1. Kibana
http://symfony.localhost:81
  1. phpmyadmin
http://symfony.localhost:9191

symfony / symfony

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors