This example shows how to set up Prisma and graphql-yoga using Docker and MySQL locally on your machine. The only dependency is Docker.
This example uses a new and empty database. Learn how to connect Prisma to your existing database here.
Execute the script with this command:
docker-compose up
To deploy the datamodel for this example, run the following commands:
docker-compose down
docker-compose build