Prowess is a project that interacts with Riot's Valorant API to retrieve data such as kills, damage, and wins for a play session. It then aggregates this data and exposes it through API endpoints served using AWS Lambda and AWS API Gateway.
Prowess requires the following dependencies to run:
- Python 3.8
- Node 16.16.0
- Serverless framework
- Docker
- Poetry
- Redis
- nose2
- mypy
- flake8
To run Prowess locally, follow these steps:
- Clone the repository:
git clone https://github.com/Strafer14/Prowess.git - Run
npm install - Run
pip install poetry - Run
poetry install - Run
docker-compose up -d - Run
poetry shell - Run
npm start
To deploy, configure the correct AWS access key and secret then run npm run deploy
Prowess uses the following environment variables for configuration:
- REDIS_HOST: the hostname of the Redis server
- REDIS_PORT: the port number of the Redis server
- REDIS_PWD: the password of the Redis server
- PYTHON_ENV: the python environment
- DISCORD_WEBHOOK: this project uses a discord channel as an output for its' logs
- VALORANT_API_KEY: the Riot API key