aleksasiriski / 5danauoblacima2023

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

5danauoblacima2023

Prerequisites

Container (recommended)

Local

Build

Container (recommended)

  • Run docker compose up or docker-compose up or podman-compose up
  • Alternatively build docker/Dockerfile manually and run a seperate redis container with docker run or podman run

Local

  1. Install modules with npm ci
  2. Run dev server with npm run dev
  3. Alternatively build project with npm run build and run it with npm run start

Access (both methods)

  1. API should be available under port 3000, you can check by going to http://localhost:3000/healthz
  2. To check if Redis is connected go to http://localhost:3000/healthz/redis

Tests (automated)

  • To run the audomated tests you must do Local setup after which you can start the tests with npm run test
  • Alternatively you can test the API manually by going to http://localhost:3000/stats/player/Sifiso%20Abdalla

Technologies

About

License:GNU Affero General Public License v3.0


Languages

Language:HCL 60.6%Language:TypeScript 37.3%Language:Dockerfile 1.1%Language:Smarty 1.0%