fastapi-nano icon indicating copy to clipboard operation
fastapi-nano copied to clipboard

What about adding Beanie?

Open priamai opened this issue 1 year ago • 2 comments

Hello friend! Thanks for all the fixes is all working fine. What about adding Beanie support with MongoDB? It could be a fork? Cheers.

priamai avatar Oct 27 '24 08:10 priamai

I love Beanie for MongoDB and use it at work all the time. But I was also asked to add support for SQLAlchemy by those who want to use the template with relational DBs. I’m thinking about finding a way to add both in separate directories without making it too confusing for newcomers.

rednafi avatar Nov 01 '24 01:11 rednafi

What about creating 2 different branches one for Beanie and one or SQLAlchemy? So the user can just checkout the corresponding one. I like this repository they have a nice structure, maybe we can use a similar approach: https://github.com/Youngestdev/fastapi-mongo/tree/master

priamai avatar Nov 02 '24 07:11 priamai