Skip to content

oslavdev/memo-the-quantum-terminals-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Quantum Terminals Game - Client

Server side: /~https://github.com/oslavdev/memo-the-quantum-terminals-server

(In progress...) This is a remake of my old simple 2D procedurally generated puzzle game The Quantum Terminals. In this build I migrated project to GraphQL with TypeScript.

Alt text

Technologies

  • React.js
  • Apollo
  • TypeScript
  • GraphQL

Run in development mode

With Docker

docker-compose up

Without docker

yarn install

yarn dev

(!) By default the application makes requests to the hosted backend. If you want to run backend locally, you need to add SERVER_API_URL environment in .env file

CLIENT HOST: http://localhost:8080/

Environments

NAME DESCRIPTION REQUIRED
SERVER_API_URL <server_graphql_url> false

Testing

	$ yarn test

For coverage

	$ yarn test:coverage

Update snapshots

	$ yarn test:update