Skip to content

A VALORANT match analysis app built with React Native and python microservices

Notifications You must be signed in to change notification settings

Obliie/Valytics

Repository files navigation


Header photo

Valytics

A VALORANT match analysis app built with React Native, using Python microservices in the backend.

Contact me · Issues · Pull Requests

Contents

Development

Prerequisites

  • npm
  • docker
  • python
  • pip

Setup

  1. Install pre-commit
pip install pre-commit
  1. Install pre-commit hooks
pre-commit install

Frontend

  1. Move into the frontend development directory
cd app-web
  1. Install NPM packages
npm install
  1. Start the Expo Metro bundler
npm run web

Backend

  1. Copy the env.example file and adjust values appropriately
cp .env.example .env
  1. Start the backend microservice containers
docker compose --profile backend up

Mockserver

After executing the commands specified in backend the mockserver service will be up and running. If you want to add in any mock data you have to edit the mockserver-config.json file which includes an example.

Match data example: http://mockserver:1080/val/match/v1/matches/7b2412ad-d530-4bec-a112-01b171bb4959

Testing

Run service integration tests:

docker compose --profile test up

Build

Rebuild protobuf files:

docker compose --profile build up

Service Ports

Exposed Services

Service Default Port
Envoy API Gateway 8080
Envoy API Gateway Admin 21999
Prometheus 9090

Internal Services

Service Default Port
Statsd - Stat listener 9125
Statsd - Stat data 9102
Riot Ingest Service 19990
Match Service 19991
Mockserver 1080

Databases

Service Default Port
Match - Ranked Match DB 27001

About

A VALORANT match analysis app built with React Native and python microservices

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •