Create /api/db endpoints #3

Closed
opened 2021-07-24 18:43:56 -04:00 by merenber · 1 comment
Owner

Create the /api/db endpoints as specified in #1.

You will need to create all of the necessary classes from the bottom up. I suggest creating an IDatabaseService interface, which is implemented by MySQLService and PostgresQLService. In zope, it is possible to register multiple implementations of a single interface, if you register them with different names (see https://zopecomponent.readthedocs.io/en/latest/narr.html#utilities).

You will also need the transaction layer and API layer.

Create the /api/db endpoints as specified in https://git.csclub.uwaterloo.ca/public/pyceo/issues/1. You will need to create all of the necessary classes from the bottom up. I suggest creating an IDatabaseService interface, which is implemented by MySQLService and PostgresQLService. In zope, it is possible to register multiple implementations of a single interface, if you register them with different names (see https://zopecomponent.readthedocs.io/en/latest/narr.html#utilities). You will also need the transaction layer and API layer.
a268wang was assigned by merenber 2021-07-24 18:43:56 -04:00
a268wang reopened this issue 2021-08-24 22:40:25 -04:00
Author
Owner

Closed by #10.

Closed by https://git.csclub.uwaterloo.ca/public/pyceo/pulls/10.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: public/pyceo#3
No description provided.