Skip to content

herrherrmann/awesome-games-api

Repository files navigation

Awesome Games API

API for the Awesome Multiplayer Games website, built with TypeScript and NestJS. Fetches all games and enriches the data with information from IGDB.

Related repositories:

Contribute

If you want to add or edit games, please go to https://github.com/herrherrmann/awesome-multiplayer-games and create a pull request.

Installation

  1. Install the Node version defined in .nvmrc:
    nvm use # or nvm install
  2. Install dependencies:
    npm install
  3. Copy .env.example to .env and fill in the necessary values.

Running the app

# development
npm run start

# watch mode
npm run start:dev

# production mode
npm run start:prod

Tests

# unit tests
npm run test

# e2e tests
npm run test:e2e

# test coverage
npm run test:cov