Skip to content

onelittlenightmusic/graphql-mesh-docker-mysql-example

Repository files navigation

GraphQL Mesh simple example with MySQL on Docker

Simpler docker setup for GraphQL Mesh and MySQL.

Start up

# Download MySQL example database loader
git clone https://github.com/datacharmer/test_db
docker-compose up -d mysql
# Watch logs of mysql and wait.
docker-compose logs -f
# Find the message showing mysql is ready like this
# mysql_1  | 2020-04-27 03:20:07+00:00 [Note] [Entrypoint]: MySQL init process done. Ready for start up.

# Ctrl+C to return and run GraphQL Mesh
<Ctrl+C>
docker-compose up -d mesh

Access http://localhost:4000.

Cleanup

docker-compose down

Reference

About

Simpler docker setup for GraphQL Mesh and MySQL

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages