Skip to content

m-mis/php-gql-skeleton

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

This repository is a skeleton to start easily a php api based on graphql. It creates a simple api with a database based on mysql.

type Query {
  hello: String
  unitTypeById(id: String!): UnitType
  unitTypes: [UnitType]!
}

Getting started

you can simply run the solution with docker and docker-compose.

docker-compose up

This will create the database and feed it with sample data. You can open Apollo studion to test the api on http://localhost:3003/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 95.0%
  • Dockerfile 3.2%
  • HTML 1.8%