0.4.0 • Published 5 years ago

@teamest/internal-season-client v0.4.0

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

Internal Season API

Internal gRPC service responsible for management of season data.

Server published to dockerhub: teamest/internal-season-api

Client published to npm: @teamest/internal-season-service

Available Services

UpdateTeamSeason

Takes a TeamSeason to update, returns a TeamSeasonResult to indicate if any changes were written as part of the update.

Usage

Configuration

Provide all configuration details via environment variables

NameDefault ValueDescription
GRPC_PORT50051Port to listen for GRPC requests
MYSQL_HOSTlocalhostHostname of the mysql instance
MYSQL_USERinternal_seasonUsername to connect to mysql
MYSQL_PASSinternal_seasonPassword to connect to mysql
MYSQL_DATABASEseason_dataThe mysql database to use for data
LOG_LEVELinfoThe minimum log level that will be printed

Docker Run

A manual run can be done with docker using the following command:

docker run --env-file=.env vcalendars/scraper-worker

Local Runs

A local run can be done with:

npm run dev

Migrations

Migrate with npx knex migrate:latest

Rollback last migration batch with npx knex migrate:rollback

0.4.0

5 years ago

0.3.2

5 years ago

0.3.3

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.0.2

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.0

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago