Commit Graph
100 Commits
Author SHA1 Message Date
Sebastián Ramírez a2e3a8ae11 👷 Fix smokeshow, checkout files on CI (#1395) 2024-10-12 15:54:30 +02:00
Sebastián Ramírez 86d2fcc2e8 👷 Update labeler.yml (#1388) 2024-10-07 20:33:45 +00:00
Sebastián Ramírez fe7f4f7949 🔧 Add ENV PYTHONUNBUFFERED=1 to log output directly to Docker (#1378) 2024-09-27 16:10:59 +00:00
Sebastián Ramírez 38843cbe28 👷 Tweak generate client to error out if there are errors (#1377) 2024-09-27 15:53:31 +00:00
Sebastián Ramírez c297e9ee9e 👷 Generate and commit client only on same repo PRs, on forks, show the error (#1376) 2024-09-27 16:23:23 +02:00
Sebastián Ramírez 7e5ca88dc2 🔖 Release version 0.7.1 2024-09-27 15:30:04 +02:00
Sebastián Ramírez 911223516c 👷 Use uv cache on GitHub Actions (#1366) 2024-09-24 11:52:42 +02:00
Sebastián Ramírez 32227c4020 👷 Update GitHub Actions format (#1363) 2024-09-24 00:29:10 +02:00
Sebastián Ramírez 284527b7bc 👷 Use uv for Python env to generate client (#1362) 2024-09-24 00:05:29 +02:00
Sebastián Ramírez 39325ad421 👷 Run tests from Python environment (with uv), not from Docker container (#1361) 2024-09-23 23:27:21 +02:00
Sebastián Ramírez 9b2e5813ae 🔨 Update generate-client.sh script, make it fail on errors, fix generation (#1360) 2024-09-23 22:36:14 +02:00
Sebastián Ramírez d2020c1a37 ♻️ Update settings to use top level .env file (#1359) 2024-09-23 22:09:11 +02:00
Sebastián Ramírez 0435937f8e 👷 Add GitHub Actions workflow to lint backend apart from tests (#1358) 2024-09-23 21:35:18 +02:00
Sebastián Ramírez 4fc9610175 💡 Add comments to Dockerfile with uv references (#1357) 2024-09-23 16:53:08 +00:00
Sebastián Ramírez 81048277c7 ⬆️ Migrate from Poetry to uv (#1356) 2024-09-23 16:10:46 +02:00
Sebastián Ramírez c8104d8ced 🔥 Remove logic for development dependencies and Jupyter, it was never documented, and I no longer use that trick (#1355) 2024-09-23 13:39:54 +02:00
Sebastián Ramírez 4cd67f3483 ♻️ Use Docker Compose watch (#1354) 2024-09-23 00:29:23 +02:00
Sebastián Ramírez 651643982b 🔧 Use plain base official Python Docker image (#1351) 2024-09-22 18:25:29 +02:00
Sebastián Ramírez 87254dd79e 🚚 Move location of scripts to simplify file structure (#1352) 2024-09-22 18:19:57 +02:00
Sebastián Ramírez 8fe66c1cc1 ♻️ Refactor prestart (migrations), move that to its own container (#1350) 2024-09-20 17:12:40 +02:00
Sebastián Ramírez 889a9bf5bf ⬆️ Upgrade FastAPI (#1349) 2024-09-20 14:52:45 +02:00
Sebastián Ramírez e64c9100ec ♻️ Include FRONTEND_HOST in CORS origins by default (#1348) 2024-09-20 14:43:32 +02:00
Sebastián Ramírez 79d240f5b7 ♻️ Simplify domains with api.example.com for API and dashboard.example.com for frontend, improve local development with localhost (#1344) 2024-09-19 18:11:33 +00:00
Sebastián Ramírez 2062b5b671 🔥 Simplify Traefik, remove www-redirects that add complexity (#1343) 2024-09-17 00:26:26 +02:00
Sebastián Ramírez 8a8a90459d 🩺 Add DB healthcheck (#1342) 2024-09-16 21:52:33 +02:00
Sebastián Ramírez 18a5cb21db 🔥 Enable support for Arm Docker images in Mac, remove old patch (#1341) 2024-09-16 21:42:50 +02:00
Sebastián Ramírez 4af652aa73 👷 Update issue-manager.yml (#1329) 2024-09-07 17:20:24 +02:00
Sebastián Ramírez 375170c386 👷 Update latest-changes GitHub Action (#1315) 2024-08-26 02:17:32 +00:00
Sebastián Ramírez 8187a5283f 👷 Update configs for labeler (#1308) 2024-08-15 15:42:54 -05:00
Sebastián Ramírez d7d245a108 👷 Do not sync labels as it overrides manually added labels (#1307) 2024-08-15 13:48:43 -05:00
Sebastián Ramírez de57a7bac1 👷 Update GitHub Action labeler to add only one label (#1304) 2024-08-14 14:12:29 -05:00
Sebastián Ramírez d275c6224b 👷 Update GitHub Action labeler dependencies (#1302) 2024-08-13 22:57:33 -05:00
Sebastián Ramírez 4b9285643a 👷 Update GitHub Action labeler permissions (#1300) 2024-08-13 17:34:30 -05:00
Sebastián Ramírez 10c6cc72eb 👷 Add GitHub Action label-checker (#1299) 2024-08-13 05:35:21 +00:00
Sebastián Ramírez b4c34c63d6 👷 Add GitHub Action labeler (#1298) 2024-08-13 02:44:18 +00:00
Sebastián Ramírez e46ba68301 👷 Add GitHub Action add-to-project (#1297) 2024-08-13 02:11:24 +00:00
Sebastián Ramírez df94e73a5a 👷 Update issue-manager (#1288) 2024-08-03 19:23:42 +00:00
Sebastián Ramírez af086764b3 🔖 Release version 0.7.0 2024-08-02 14:52:08 -05:00
Sebastián Ramírez 8ce3ce5903 📝 Update links from tiangolo repo to fastapi org repo (#1285) 2024-08-02 14:34:32 -05:00
Sebastián Ramírez 5d21a267fc 👷 Update issue-manager.yml GitHub Action permissions (#1278) 2024-08-01 01:59:45 +00:00
Sebastián Ramírez dbf3899b7c ⬆️ Upgrade Traefik (#1241) 2024-06-26 02:27:06 +00:00
Sebastián Ramírez 9c8c9c60e4 ♻️ Refactor redirect labels to simplify removing the frontend (#1208) 2024-05-19 12:46:58 -07:00
Sebastián Ramírez f9a1ac7b1c 👷 Update Smokeshow download artifact GitHub Action (#1198) 2024-05-10 18:21:52 +00:00
Sebastián Ramírez 8a008f0bc8 🔧 Update mypy config to ignore .venv directories (#1155) 2024-04-05 20:15:34 +00:00
Sebastián Ramírez 1e20627934 🔥 Remove deprecated Docker Compose version key (#1129) 2024-03-25 21:56:49 +00:00
Sebastián Ramírez f03db728e7 Add support for deploying multiple environments (staging, production) to the same server (#1128) 2024-03-25 21:55:24 +00:00
Sebastián Ramírez c05bfc8ddc 📝 Update instructions to clone for a private repo, including updates (#1127) 2024-03-25 21:05:40 +00:00
Sebastián Ramírez e7975da967 📝 Add docs about CI keys, LATEST_CHANGES and SMOKESHOW_AUTH_KEY (#1126) 2024-03-25 20:41:06 +00:00
Sebastián Ramírez 78777ff011 👷 Update CI GitHub Actions to allow running in private repos (#1125) 2024-03-25 20:34:05 +00:00
Sebastián Ramírez 6aa2296dea 🐛 Fix 403 when the frontend has a directory without an index.html (#1094) 2024-03-17 13:43:31 +00:00
Sebastián Ramírez 1b8b78415f 📝 Update release notes 2024-03-12 21:55:11 +01:00
Sebastián Ramírez 52b602681d 🔖 Release version 0.6.0 2024-03-12 21:51:56 +01:00
Sebastián Ramírez dad8959597 📌 Upgrade Poetry lock dependencies (#702) 2024-03-12 20:06:02 +00:00
Sebastián Ramírez 655261742b 📝 Update release notes 2024-03-12 21:01:30 +01:00
Sebastián Ramírez a69c22334e 🍱 Update GitHub image (#701) 2024-03-12 19:48:13 +00:00
Sebastián Ramírez b95bdca83e 🍱 Add GitHub image (#700) 2024-03-12 19:41:48 +00:00
Sebastián Ramírez b32dea360c 🚚 Rename project to Full Stack FastAPI Template (#699) 2024-03-12 19:23:20 +00:00
Sebastián Ramírez c2555c363f 🔒️ Ensure the default values of "changethis" are not deployed (#698) 2024-03-12 18:57:02 +00:00
Sebastián Ramírez 1e256bce5d 🔥 Remove Celery and Flower, they are currently not used nor recommended (#694) 2024-03-12 19:19:03 +01:00
Sebastián Ramírez 37a6e350d1 Migrate from pgAdmin to Adminer (#692) 2024-03-12 18:30:54 +01:00
Sebastián Ramírez 691443c7cd 👷 Add Lint to GitHub Actions outside of tests (#688) 2024-03-12 15:09:27 +00:00
Sebastián Ramírez 5e5e4edd8c 📌 Add Poetry lock to git (#685) 2024-03-12 14:51:21 +00:00
Sebastián Ramírez 4e2c6bd6ba ♻️ Refactor logic to allow running pytest tests locally (#683) 2024-03-12 12:31:31 +00:00
Sebastián Ramírez 6adafdc13d 🔧 Add a default Flower password (#682) 2024-03-12 10:53:25 +01:00
Sebastián Ramírez 381227d2dc 📝 Add docs for wildcard domains (#681) 2024-03-12 09:00:38 +00:00
Sebastián Ramírez 3527df959e 📝 Add the required GitHub Actions secrets to docs (#679) 2024-03-11 19:54:22 +00:00
Sebastián Ramírez 10f7b23c9c 🔧 Update VS Code debug config (#676) 2024-03-11 17:08:53 +00:00
Sebastián Ramírez ed9958bc1e ♻️ Refactor code structure for tests (#674) 2024-03-11 16:49:35 +00:00
Sebastián Ramírez e56cee9c1d 👷 Tweak test GitHub Action names (#672) 2024-03-11 15:51:57 +00:00
Sebastián Ramírez 6851eea1fe 🐛 Set up Sentry only when used (#671) 2024-03-11 15:47:51 +00:00
Sebastián Ramírez e12262078a 📝 Update deployment docs to use a different directory for traefik-public (#670) 2024-03-11 15:46:01 +00:00
Sebastián Ramírez b9cbb4f8f4 👷 Add continuous deployment and refactors needed for it (#667) 2024-03-11 15:34:18 +00:00
Sebastián Ramírez d4e35a0dfd ♻️ Refactor email logic to allow re-using util functions for testing and development (#663) 2024-03-09 23:02:36 +00:00
Sebastián Ramírez 07064ae5e0 📝 Update deployment files and docs (#660) 2024-03-09 00:41:13 +00:00
Sebastián Ramírez 458d712d44 🔥 Remove old frontend (#649) 2024-03-08 14:44:04 +00:00
Sebastián Ramírez 4c1f75ce72 📝 Refactor README into separate README.md files for backend, frontend, deployment, development (#639) 2024-03-07 19:49:43 +00:00
Sebastián Ramírez cab869eac2 📝 Update README (#628) 2024-03-01 20:18:16 +00:00
Sebastián Ramírez f0c433ae5f 🔧 Add VS Code debug configs (#620) 2024-02-29 13:19:11 +00:00
Sebastián Ramírez a4b151112b 👷 Update GitHub Action latest-changes and move release notes to independent file (#619) 2024-02-29 13:00:15 +00:00
Sebastián Ramírez 0122fa2f11 🔧 Update .env to allow local debug for the backend (#618) 2024-02-29 01:09:24 +00:00
Sebastián Ramírez cfd66d2eee ♻️ Refactor and update CORS, remove trailing slash from new Pydantic v2 (#617) 2024-02-29 01:03:23 +00:00
Sebastián Ramírez 544f89f253 📝 Update internal README and referred files (#613) 2024-02-25 21:51:56 +01:00
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
2024-02-25 21:20:20 +01:00
Sebastián Ramírez 0cc802eec8 🎨 Format files with pre-commit and Ruff (#611) 2024-02-25 19:39:33 +01:00
Sebastián Ramírez 2802a4df9e Replace black, isort, flake8, autoflake with ruff and upgrade mypy (#610) 2024-02-25 19:29:00 +01:00
Sebastián Ramírez 73b2884057 🚚 Refactor and simplify backend file structure (#609) 2024-02-25 18:48:02 +01:00
Sebastián Ramírez a065f9c9e8 🔥 Clean up old files no longer relevant (#608) 2024-02-25 17:50:12 +01:00
Sebastián Ramírez 72f835a6b4 ♻ Re-structure Docker Compose files, discard Docker Swarm specific logic (#607) 2024-02-25 17:28:26 +01:00
Sebastián Ramírez fe95750e3a Add support for updating items and upgrade SQLModel to 0.0.16 (which supports model object updates) (#601) 2024-02-17 21:29:15 +01:00
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
2023-12-27 19:06:47 +01:00
Sebastián Ramírez 870d45fa36 Upgrade items router with new SQLModel models, simplified logic, and new FastAPI Annotated dependencies (#560) 2023-11-25 00:11:02 +01:00
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
2023-11-25 00:08:22 +01:00
Sebastián Ramírez e4877b7a9f ⬆️ Upgrade Python version and dependencies (#558) 2023-11-24 23:48:21 +01:00
Sebastián Ramírez fa4ea018c3 ♻️ Refactor frontend Docker build setup, use plain NodeJS, use custom Nginx config, fix build for old Vue (#555) 2023-11-15 23:02:09 +01:00
Sebastián Ramírez c892fc200e 🔧 Add missing dotenv variables (#554) 2023-11-15 21:57:55 +01:00
Sebastián Ramírez 455de4d9a9 ♻️ Refactor project generation, discard cookiecutter, use plain git/clone/fork (#553) 2023-11-15 21:20:29 +01:00
Sebastián Ramírez dceca9c1e5 📝 Update README with in construction notice (#552) 2023-11-15 21:03:37 +01:00
Sebastián Ramírez e0db713f6b 👷 Add dependabot (#547) 2023-11-04 07:29:47 +04:00
Sebastián Ramírez 04664a9ce9 📝 Update release notes 2023-11-04 07:28:38 +04:00
Sebastián Ramírez 6e5c3375c7 📝 Update release notes 2023-11-04 07:15:05 +04:00