Skip to content

Database connection #17

@ben8622

Description

@ben8622

We need to ensure our backend can successfully connect to our database and be queried.

Django offers support for this out of the box, this is the recommended way to accomplish this to avoid vulnerabilities such as SQL injections if we were to create our own service. You can find the docs here https://docs.djangoproject.com/en/4.1/ref/databases/ .

To prove that this issue is accomplished create a REST endpoint that returns some JSON string with identifying information of our database. What that information is, is up to you.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions