Esteban Maya
06766f3cb3
♻ Refactor Python folder tree ( #629 )
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
1 year ago
Esteban Maya
e6a6819c57
✅ Add setup and teardown database for tests ( #626 )
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
1 year ago
Alejandra
01c40d4bda
✨ Add password reset functionality ( #624 )
1 year ago
Alejandra
2d0f77421f
♻️ Refactor old CRUD utils and tests ( #622 )
1 year ago
Sebastián Ramírez
cfd66d2eee
♻️ Refactor and update CORS, remove trailing slash from new Pydantic v2 ( #617 )
1 year ago
Esteban Maya
08395759fe
⬆ Upgrade code to support pydantic V2 ( #615 )
1 year ago
Alejandra
2346b81c51
✨ Support delete own account and other tweaks ( #614 )
Co-authored-by: Esteban Maya Cadavid <emaya@trueblue.com>
1 year ago
Sebastián Ramírez
544f89f253
📝 Update internal README and referred files ( #613 )
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
0cc802eec8
🎨 Format files with pre-commit and Ruff ( #611 )
1 year ago
Sebastián Ramírez
73b2884057
🚚 Refactor and simplify backend file structure ( #609 )
1 year ago
Esteban Maya
f41f4432fe
♻ Refactor items and services endpoints to return count and data, and add CI tests ( #599 )
Co-authored-by: Esteban Maya Cadavid <emaya@trueblue.com>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
1 year ago
Alejandra
176b6fb1c9
♻️ Refactor update endpoints and regenerate client for new-frontend ( #602 )
1 year ago
Sebastián Ramírez
fe95750e3a
✨ Add support for updating items and upgrade SQLModel to 0.0.16 (which supports model object updates) ( #601 )
1 year ago
Alejandra
a88f637ed8
✨ Add delete_user; refactor delete_item ( #594 )
1 year ago
Alejandra
6faa5f66d5
♻️ Re-enable user update path operations for frontend client generation ( #574 )
2 years ago
Alejandra
d5982236ac
♻️ Refactor API in `utils.py` ( #573 )
2 years ago
Alejandra
047e6884be
♻️ Remove type ignores and add `response_model` ( #572 )
2 years ago
Sebastián Ramírez
c1538fd1fb
✨ Update code for login API ( #571 )
* ✨ Update models for login API
* ✨ Add authenticate simplified CRUD
* ♻️ Refactor get_current_user dependency, integrate is_active
* ✨ Refactor and upgrade login API code
2 years ago
Alejandra
49d610e443
✨ Add client in frontend and client generation ( #569 )
2 years ago
Alejandra
3f109aee1f
🐛 Fix positional argument bug in `init_db.py` ( #562 )
2 years ago
Alejandra
6f29eb2438
♻️ Refactor Users API and dependencies ( #561 )
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2 years ago
Sebastián Ramírez
870d45fa36
✨ Upgrade items router with new SQLModel models, simplified logic, and new FastAPI Annotated dependencies ( #560 )
2 years 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
e4877b7a9f
⬆️ Upgrade Python version and dependencies ( #558 )
2 years ago
Oskar Bechtold
7705fe89df
🐛 Fix Celery worker command ( #443 )
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
2 years ago
Sebastián Ramírez
455de4d9a9
♻️ Refactor project generation, discard cookiecutter, use plain git/clone/fork ( #553 )
2 years ago