Peter Vacho
1eaef54d70
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). |
||
---|---|---|
src | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
.pre-commit-config.yaml | ||
.python-version | ||
LICENSE.txt | ||
pyproject.toml | ||
README.md | ||
requirements-dev.lock | ||
requirements.lock |
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
...