graphql-engine/community/sample-apps/tic-tac-toe-react
Samir Talwar d9afcc1857 Upgrade all package-lock.json files to the v2 format.
NPM v7 uses a new (backwards-compatible) lockfile format. This upgrades all our various _package-lock.json_ files to use the new format.

It's much more verbose so that NPM can be a lot faster.

I figured it was cleaner to do this once in a separate PR rather than upgrading them in combination with adding or upgrading a new dependency.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5869
GitOrigin-RevId: 322fb63b96e2d873a4a3cc05fa6c7afa414716ce
2022-09-28 08:15:29 +00:00
..
client add github workflow to compress new images in PRs 2021-03-10 20:55:02 +00:00
hasura community: fix sample apps metadata for v3 config 2021-08-19 03:46:59 +00:00
remote-schema Upgrade all package-lock.json files to the v2 format. 2022-09-28 08:15:29 +00:00
docker-compose.yaml community: update sample apps to use hasura cloud and v3 migrations/metadata 2021-03-02 08:32:37 +00:00
README.md Use docker compose, not docker-compose. 2022-08-02 10:30:57 +00:00

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