Skip to content

Repository files navigation

Tests codecov

Core Library

This repo holds the main go package used by other microservices on alt4dev including

  • internal: Internal REST API mainly handling client requests from our website
  • grpc: GRPC Service used by logging client libraries to communicate with alt4

Installation locally:

To be able to install this module locally, configure git to always authorize using a personal access token. Then set alt4 core as private repo.

git config --global url."https://${user}:${personal_access_token}@github.com".insteadOf "https://github.com"
export GOPRIVATE=github.com/alt4dev/core

Environment:

  • TOKEN_SIGNING_SECRET (required) A secret used to sign JWT tokens for authorizing libraries
  • REDIS_ADDRESS (required) Address to a redis instance
  • REDIS_USERNAME (required)
  • REDIS_PASSWORD (required)
  • PROJECT_ID Google cloud project ID. Needed to read and write to BQ.
  • MAILGUN_API_KEY Needed to send emails over mailgun

About

Document and core logic definitions for alt4.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages