players-api

module
v0.0.0-...-e79d758 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2024 License: MIT

README

Players API and Consumer

This is a Go-based API for managing football player data. It stores the player profile image on AWS S3 for storage. Uses Kafka for messaging, getting the player data and writing it to the AWS DynamoDB

Getting Started

Just get the binary for either consumer or the api or for the both and basically run it.

Prerequisites
  • AWS Client environment for DynamoDB
Set The Env Vars

Check .env.dist template and set the variables accordingly

How To Run
./playersApi
Generate Open API

oapi-codegen --config=config.yaml ./api.yaml

Directories

Path Synopsis
internal
api
Package api provides primitives to interact with the openapi HTTP API.
Package api provides primitives to interact with the openapi HTTP API.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL