rednafi / fastapi-nano

🐍 Simple FastAPI template that mimics Flask's blueprint directory structure
MIT License
897 stars 97 forks source link

What about adding Beanie? #317

Open priamai opened 1 month ago

priamai commented 1 month ago

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

rednafi commented 4 weeks ago

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.

priamai commented 4 weeks ago

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