@Peter Zilz Peter Zilz authored on 14 Oct 2018
.vscode Added two trivial example maps and functions to design mazes with ASCII art. 5 years ago
src Removed return value from startGame function for better separation of concern. 5 years ago
.gitignore Created base setup of typescript in vs code. 5 years ago
Labyrinth.code-workspace Created base setup of typescript in vs code. 5 years ago
README.MD Added validation on the userID. 5 years ago
package-lock.json Updated express version. 5 years ago
package.json Updated express version. 5 years ago
tsconfig.json Created an express-graphql server to expose the API as a web API via GraphQL. 5 years ago
tslint.json Removed "endpoint", introduced GameServer to handle logic. 5 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