Skip to content
Snippets Groups Projects
fredrfha's avatar
Fredrik Fonn Hansen authored
993a842c
History

Backend

This backend handles connection with the database and ongoing gameStates.

The backend uses the express framework to handle requests.

Implemation in Typescript.

Package handler is Yarn.

Setup

You must add a file in the following directory: backend/keys/fb-key.json

The key is login details to a Firebase service account, needed to access the database.

How to run

Run the following commands in your terminal:

  • yarn last ned avhengigheter
  • yarn start start serveren

Nyttige kommandoer

Formatere koden: yarn prettier Kjøre tester: yarn test