Sebastián Ramírez
5e5e4edd8c
📌 Add Poetry lock to git ( #685 )
1 year ago
Esteban Maya
8558cf00a2
♻ Move project source files to top level from src, update Sentry dependency ( #630 )
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
1 year ago
Sebastián Ramírez
42726193d0
✨ Add Copier, migrate from Cookiecutter, in a way that supports using the project as is, forking or cloning it ( #612 )
* 🔧 Add first Copier config
* 🔧 Add custom copier answers file
* 🔨 Add Copier script to update .env after generating/copying
* 🙈 Update .gitignores from Copier updates
* 🔧 Update .env, restructure in order of relevance
* 🔧 Remove Copier config for SMTP port, if necessary, it can be overwritten in .env
* ♻️ Refactor Copier files, make them less visible
* 🔧 Update Copier config
* 🔥 Remove Cookiecutter files
1 year ago
Sebastián Ramírez
73b2884057
🚚 Refactor and simplify backend file structure ( #609 )
1 year ago
Sebastián Ramírez
a66a9256dd
✨ Adopt SQLModel, create models, start using it ( #559 )
* 🔥 Remove old SQLAlchemy models
* ✨ Add new SQLModel models
* 🔧 Update Alembic configs to work with SQLModel
* ✨ Re-generate initial Alembic migration
* 🔧 Update PostgreSQL driver connection string URL
* ✨ Create new SQLModel engine
* 🔥 Remove old unneeded SQLAlchemy-specific files
* ♻️ Update init_db
* ♻️ Use new SQLModel session
* ♻️ Update conftest with new DB Session
* ♻️ Update pre-start scripts to use SQLModel session
* ♻️ Import new SQLModel models
* ✨ Create new simplified create_user crud util
* ♻️ Update import in CRUDBase class (soon to be removed)
* 🙈 Update .gitignore with Python files
2 years ago
Sebastián Ramírez
455de4d9a9
♻️ Refactor project generation, discard cookiecutter, use plain git/clone/fork ( #553 )
2 years ago
Ruslan Samoylov
c8bcc0ba0a
➕ Use Poetry for package management ( #144 )
* use poetry insted of Pipfile
* fix python black version
* set prepare.sh as executable
* revert postgres 11
* use multi-build stage in docker
* fix poetry path
* 🔥 Remove uneeded changes
* 🔧 Move and update Poetry file
* 🙈 Update gitignore
* 🐳 Update Dockerfiles to use Poetry
* 🐳 Update Dockerfiles with Poetry
* 🔧 Add SERVER_NAME required by Celery worker
* 🐳 Update Poetry install to avoid env conflicts
* ➕ Add Pytest to Poetry dependencies
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
5 years ago
Sebastián Ramírez
7f8bfc8faa
🎉 First commit, from couchbase generator, basic changes
not tested / updated yet
7 years ago