graphql-engine/community/sample-apps/tic-tac-toe-react/README.md
Samir Talwar 349ccd3296 Use docker compose, not docker-compose.
Docker Compose is now a plugin for Docker, bundled by default in Docker Desktop and many Linux distribution packages. The standalone `docker-compose` binary has been deprecated since Docker Compose v2.

Using the new version directly allows us to write development scripts that do not require `docker-compose` to be installed.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5185
GitOrigin-RevId: c8542b8b2405d1aa32288991688c6fde4af96383
2022-08-02 10:30:57 +00:00

687 B

Multiplayer Tic Tac Toe

Edit tic-tac-toe

This is a multiplayer tic tac toe app that uses the following components:

  • Frontend
    • React
    • Apollo
  • Backend
    • Hasura for GraphQL CRUD over database
    • Custom GraphQL Server with ApolloServer for custom logic

Docker deployment

To deploy all the services, run the app using Docker Compose:

docker compose up -d --build

(Use docker-compose if you are using Docker Compose v1.)

You can access your app at http://localhost:8000