humoroushorse / ttrpg-api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TTRPG API

Welcome to the TTRPG API!

Localhost

Localhost changes based on where you run it from

  • CLI: 127.0.0.1
  • Docker: 0.0.0.0

Port Space Allocation

As a source of truth please refer to this confluence page.

Project Name Description Ports
Grafana service 3000
UI ui ports 4xxx
registry containers 5001
API api ports 8xxx - 8100
API DOCS api doc ports 81xx - 8200
OPA opa ports 82xx - 8300
Prometheus service 9090

Port Ledger

Project Name Description Ports
Grafana service 3000
local registry containers 5001
postgres DB 5432
postgres (test) Test DB 5433
pydnd FastAPI DnD 8001
pydnd: mkdocs docs 8201
pydnd: opa opa 8301
Prometheus service 9090

Projects

pydnd

This is a FastAPI repository

  • see ./pydnd/docs

For further documentation run

make pydnd-mkdocs

And then go to http://localhost:8001


Project Technologies Et Cetera

Poetry

Here's a link to the Poetry Docs

poetry was chosen as the package management solution

FastAPI Setup

TODO

  • in ./pylintrc investigate removing the disables for [consider-using-with, broad-except]
  • investigate if I want to use UOW pattern or just Repository pattern

About


Languages

Language:Python 86.6%Language:Makefile 7.8%Language:Dockerfile 4.1%Language:Shell 1.0%Language:Mako 0.5%