Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 497 Bytes

README.md

File metadata and controls

22 lines (16 loc) · 497 Bytes

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/