mirror of
https://github.com/hasura/graphql-engine.git
synced 2025-01-05 22:34:22 +03:00
349ccd3296
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
25 lines
687 B
Markdown
25 lines
687 B
Markdown
# Multiplayer Tic Tac Toe
|
|
|
|
[![Edit tic-tac-toe](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/hasura/graphql-engine/tree/master/community/sample-apps/tic-tac-toe-react/client?fontsize=14)
|
|
|
|
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:
|
|
|
|
```sh
|
|
docker compose up -d --build
|
|
```
|
|
|
|
(Use `docker-compose` if you are using Docker Compose v1.)
|
|
|
|
You can access your app at http://localhost:8000
|