Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.

Architecture

Manabu Niseki edited this page Feb 19, 2022 · 5 revisions

Bird's Eye View

Frontend

API

Job queue

Database

  • MySQL v8

Storage

Headless Chromium

Pattern matching

Others

Code map

Backend

app

Fast API application and arq workers & tasks.

app/api

FastAPI API routers.

app/arq

arq settings and workers.

app/core

  • Settings for FastAPI
  • Setup (start app) and teardown (stop app) events handlers
  • Exceptions for the app

app/database

Functions for Tortoise ORM.

app/dataclasses

Data Classes classes for the app.

Use Data Classes for data models which do not used in API schemas.

app/factories

Factory classes for building API schemas.

app/models

Tortoise ORM models.

app/schemas

Pydantic classes for API schemas.

app/services

Service classes for the app.

app/tasks

arq tasks.

app/utils

Utility functions for the app.

tests

pytest tests for the app.

Frontend

frontend

Vue (v2) based SPA.