lgessler / glam

(WIP) a webapp for language documentation
Eclipse Public License 2.0
40 stars 3 forks source link

REST API for Alternative Clients #24

Closed lgessler closed 7 months ago

lgessler commented 9 months ago

Motivation

Currently, backend communication can only happen with the Pathom endpoint.

Proposed Feature

I think it'd be pretty straightforward to wrap all Pathom mutations and common Pathom data queries into something that looks like an ordinary REST API. This allows us to reuse all the work in the Pathom parser without creating another layer that ties together network requests and database operations.

Alternatives

None.

Additional Context

None.