Find a file
Peter Vacho 1eaef54d70
Fix db links & some other db issues
This addresses several issues regarding the Beanie library (for db
interactions with Mongo).

Most notably, this moves away from using types like:
`Annotated[T | Link[T], Annotated[Link[T], Indexed]]` to annotate link
fields, which not only looks pretty bad in the code, but also doesn't
work and instead creates copies, not references, which was causing a
bunch of issues in the code.

The rest of the issues stem from fixing the above, addressing various
small bugs that turned up after some doing debugging, or new type issues
that this fix introduced (unfortunately, Beanie still doesn't have the
best typing support).
2024-12-28 11:59:28 +01:00
src Fix db links & some other db issues 2024-12-28 11:59:28 +01:00
.editorconfig Initial Commit 2024-11-27 15:52:17 +01:00
.gitattributes Initial Commit 2024-11-27 15:52:17 +01:00
.gitignore Initial Commit 2024-11-27 15:52:17 +01:00
.pre-commit-config.yaml Add pre-commit, linter, formatter & type-checker 2024-11-27 15:59:38 +01:00
.python-version Initial Commit 2024-11-27 15:52:17 +01:00
LICENSE.txt Initial Commit 2024-11-27 15:52:17 +01:00
pyproject.toml Add color validation for categories 2024-12-25 20:24:11 +01:00
README.md Add beanie ODM 2024-11-27 23:16:28 +01:00
requirements-dev.lock Add color validation for categories 2024-12-25 20:24:11 +01:00
requirements.lock Add color validation for categories 2024-12-25 20:24:11 +01:00

Backend for the Event Management System project

This project was created as a part of the final assignment for AP7PD, alongside the frontend that is tracked in a separate repository.

Description

This backend facilitates an Event Mangement System application, which is essentially a calendar-like application, where people can track various events.

Technology

The backend uses the FastAPI framework with Python 3.12 or higher. To facilitate MongoDB connection, I will be using the motor library with Beanie object-document mapper (ODM). The project will also contain a Dockerfile and a docker-compose file, which will make starting it very easy and reproducible.

Installation

...