CenterForDigitalHumanities / TPEN-services

Services required by TPEN interfaces in order to interact with data
1 stars 0 forks source link

59 db driver + controllers + endpoint usage demo #66

Closed cubap closed 7 months ago

cubap commented 8 months ago

Establish an abstract database handler such that regularized calls like abstract.create(data) can create in any of the databases that house TPEN3 data. We currently imagine this as...

  1. The RERUM database. This requires a TinyPen controller/client that uses the TinyPEN web API endpoints.
  2. A private MongoDB database for private app data. This requires a MongoDB controller/client that uses the MongoDB NodeJS Driver.
  3. A private MariaDB database and/or the existing TPEN MariaDB database. This requires a MariaDB controller/client that uses the MariaDB NodeJS Driver.

An abstract create must be able to determine the data source for the create after the fact, or upon additional supplied parameters.

This flow of functionality is required for all CRUD and query.

Bearer token processing and throughput is outside of this scope.

Adjusting the endpoints to use the database connector is outside of this scope.

Note that the /manifest directory and endpoint will be adjusted for demonstration purposes only.

cubap commented 7 months ago

I also can't "review" this one, since I technically own it.