@Peter Zilz Peter Zilz authored on 8 Oct 2018
.vscode Added two trivial example maps and functions to design mazes with ASCII art. 6 years ago
src Exposed startGame function in the GraphQL API. 6 years ago
.gitignore Created base setup of typescript in vs code. 6 years ago
Labyrinth.code-workspace Created base setup of typescript in vs code. 6 years ago
README.MD Added validation on the userID. 6 years ago
package-lock.json Created an express-graphql server to expose the API as a web API via GraphQL. 6 years ago
package.json Added validation on the userID. 6 years ago
tsconfig.json Created an express-graphql server to expose the API as a web API via GraphQL. 6 years ago
tslint.json Removed "endpoint", introduced GameServer to handle logic. 6 years ago
README.MD

Labyrinth

About

Labyrinth is a web API to navigate through a maze.

How to run

Install

Install typescript and tslint globally, if you haven't aready.

npm install -g typescript tslint

Local dependencies:

npm install

Build

Compile TypeScript to JavaScript.

tsc

Executing this in the application's root folder will apply the settings from tsconfig.json.

Run

Run the application.

node dist/app.js

Execute tests

npm test