ELTE-Clean / Clean-Administration-Platform

2 stars 1 forks source link

Backend-Database Connection #28

Closed Mohido closed 2 years ago

Mohido commented 2 years ago

The backend api server can connect to the database through the pool.query commands. For now the backend can connect to the database as a root user. However, until the DB Initialization #18 is done, we can stick with the root as a database access user for the backend. The backend should only access a portion of the database which it has read/write to. For instance it only should access the cap_db and not any other database (auth_db for instance) .

Mohido commented 2 years ago

Branch featuring this issue integration: "db_utils". Current State: Functionalities added. Integration State: Requires testing.

Mohido commented 2 years ago

@the4t4 Can be closed.