Create /api/db endpoints #3

Closed
opened 2 years ago by merenber · 1 comments
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 2 years ago
a268wang closed this issue 1 year ago
a268wang reopened this issue 1 year ago
Poster
Owner

Closed by #10.

Closed by https://git.csclub.uwaterloo.ca/public/pyceo/pulls/10.
merenber closed this issue 1 year ago
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: public/pyceo#3
Loading…
There is no content yet.