Commit Graph
100 Commits
Author SHA1 Message Date
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
Sebastián Ramírez d148958782 👷 Fix latest-changes GitHub Action token, strike 2 (#546) 2023-11-04 07:11:15 +04:00
Sebastián Ramírez b57ae43bcf 👷 Fix latest-changes GitHub Action token config (#545) 2023-11-04 06:35:32 +04:00
Sebastián Ramírez 5729eceb83 👷 Add latest-changes GitHub Action (#544) 2023-11-04 06:32:02 +04:00
Sebastián Ramírez 490c554e23 📝 Update release notes 2020-06-05 19:12:34 +02:00
Sebastián Ramírez aab833bae2 ⬆️ Update issue-manager (#211) 2020-06-05 19:11:45 +02:00
Sebastián Ramírez 45fdd880ce 📝 Update release notes 2020-05-25 08:44:17 +02:00
Sebastián Ramírez 27fabe01ea Add GitHub Sponsors button (#201) 2020-05-25 08:43:24 +02:00
Sebastián Ramírez 6967ce1b0c 📝 Update release notes 2020-05-25 08:34:31 +02:00
Sebastián Ramírez 20fa4ce8fb 🔊 Add consistent errors for env vars not set (#200) 2020-05-25 08:33:36 +02:00
Sebastián Ramírez 1a64656267 📝 Update release notes 2020-05-24 23:37:01 +02:00
Sebastián Ramírez e4c668d7cd Upgrade Traefik to version 2 (#199)
* 🔧 Add STACK_NAME to .env for Traefik labels

*  Upgrade Docker Compose to use Traefik v2

*  Enable Traefik v2 in Docker Compose override for local development

* 🐛 Use internal HTTPS redirect in case the deployment is not through DockerSwarm.rocks
2020-05-24 23:35:49 +02:00
Sebastián Ramírez bdc40a17f6 📝 Update release notes 2020-04-20 20:46:13 +02:00
Sebastián Ramírez b88a0fc5fa 📝 Add docs about reporting coverage in HTML (#161) 2020-04-20 20:45:32 +02:00
Sebastián Ramírez b02e4633dc 📝 Update relase notes 2020-04-20 20:32:26 +02:00
Sebastián Ramírez 43d5b49bd1 Test using the TestClient (#160) 2020-04-20 20:31:29 +02:00
Sebastián Ramírez 41a2f15d8f 🎨 Format fixes (#159)
* 📝 Update release notes

* 🎨 Update format and structure
2020-04-20 19:27:45 +02:00
Sebastián Ramírez 7b768879f5 📝 Update release notes 2020-04-20 19:15:01 +02:00
Sebastián Ramírez eed33d276d ♻️ Refactor backend, settings, DB sessions, types, configs, plugins (#158)
* ♻️ Refactor backend, update DB session handling

*  Add mypy config and plugins

*  Use Python-jose instead of PyJWT

as it has some extra functionalities and features

*  Add/update scripts for test, lint, format

* 🔧 Update lint and format configs

* 🎨 Update import format, comments, and types

* 🎨 Add types to config

*  Add types for all the code, and small fixes

* 🎨 Use global imports to simplify exploring with Jupyter

* ♻️ Import schemas and models, instead of each class

* 🚚 Rename db_session to db for simplicity

* 📌 Update dependencies installation for testing
2020-04-20 19:03:13 +02:00
Sebastián Ramírez 4b80bdfdce 📝 Update release notes 2020-04-19 21:01:11 +02:00
Sebastián Ramírez 7d57876bda 📝 Add docs about removing the frontend (#156) 2020-04-19 21:00:31 +02:00
Sebastián Ramírez 3678eb9d57 📝 Update release notes 2020-04-19 20:20:32 +02:00
Sebastián Ramírez f09fb854bf 🔧 Simplify scripts and development (#155)
* 🔧 Update scripts and configs

* 🔧 Add shebang to script

* 🔥 Remove test and dev configs, pass inline

*  Add local development dev-link set up

* 📝 Update generated docs with refactor

* 📝 Add Contributing guide
2020-04-19 20:19:25 +02:00
Sebastián Ramírez a7fd258e18 📝 Update release notes 2020-04-19 16:45:30 +02:00
Sebastián Ramírez 2afe4159ab ♻️ Simplify Docker Compose files and deployment (#153)
* ♻️ Simplify Docker Compose files and deployment

* 🔧 Remove TRAEFIK_PUBLIC_NETWORK_IS_EXTERNAL from .env
2020-04-19 16:44:12 +02:00
Sebastián Ramírez 283bc7c95b ♻️ Simplify tests, run in same backend service (#152)
remove backend-tests
2020-04-19 12:34:03 +02:00
Sebastián Ramírez 8f9c2bac42 📝 Update release notes 2020-04-19 09:18:19 +02:00
Sebastián Ramírez a7d3671a72 ♻️ Simplify env files, merge to one .env (#151) 2020-04-19 09:17:14 +02:00
Sebastián Ramírez 894b0a5587 📝 Update Travis badge 2020-04-19 08:54:23 +02:00
Sebastián Ramírez a25f2c14e4 🔖 Release version 0.5.0 2020-04-19 08:52:11 +02:00
Sebastián Ramírez 122d983415 📝 Update release notes 2020-04-19 08:51:36 +02:00
Sebastián Ramírez d08d9314ce 📌 Make the public Traefik network a fixed default (#150)
to simplify development
2020-04-19 08:50:00 +02:00
Sebastián Ramírez ff55b778ba 📝 Update release notes 2020-04-19 07:57:18 +02:00
Sebastián Ramírez 2e8da3a590 📝 Update release notes 2020-04-18 23:30:01 +02:00
Sebastián Ramírez 00297f974f 🙈 Update gitignore with Poetry 2020-04-18 23:29:44 +02:00
Sebastián Ramírez 0a194b3b00 📝 Update README, sync with FastAPI docs 2020-04-18 17:48:48 +02:00
Sebastián Ramírez 94b2474438 📝 Update release notes 2020-04-18 10:16:16 +02:00
Sebastián Ramírez af4e0cfe10 🐛 Fix Windows line endings for shell scripts after generation (#149) 2020-04-18 10:15:00 +02:00
Sebastián Ramírez 001dbda103 📝 Update release notes 2020-04-17 16:35:15 +02:00
Sebastián Ramírez 0c8e682a90 📝 Update release notes 2020-04-17 14:56:05 +02:00
Sebastián Ramírez 4bd791c11d 📝 Update release notes 2020-04-17 14:34:37 +02:00
Sebastián Ramírez 854cc709d1 📝 Update release notes 2020-04-17 14:22:02 +02:00
Sebastián Ramírez bcee2427b9 📝 Update release notes 2020-04-17 09:41:34 +02:00
Sebastián Ramírez 8ff61e813e 📝 Update release notes 2020-04-17 09:21:32 +02:00
Sebastián Ramírez 2b9ed9333a 📝 Update release notes 2020-04-17 08:07:39 +02:00
Sebastián Ramírez 5a79f4e427 📝 Update release notes 2020-04-17 08:01:35 +02:00
Sebastián Ramírez cd875e5bef 👷 Add GitHub action issue-manager 2020-04-12 13:10:38 +02:00
Sebastián Ramírez 1a92a0a6f1 🔥 Remove package-lock.json 2020-04-06 17:28:53 +02:00
Sebastián Ramírez 2eb5b030bd 📝 Update release notes 2020-04-06 12:39:26 +02:00
Sebastián Ramírez 7c2c2276d9 ♻️ Simplify Traefik labels in services (#139) 2020-04-06 12:38:28 +02:00
Sebastián Ramírez baf584a6cd 📝 Update release notes 2020-04-06 11:37:52 +02:00
Sebastián Ramírez 1d8678235d 📝 Update release notes 2020-02-07 23:17:38 +01:00
Sebastián Ramírez 141f6cdb6e 📝 Update release notes 2020-02-07 21:17:28 +01:00
Sebastián Ramírez 2db416d3c1 📝 Update release notes 2020-01-19 22:49:17 +01:00
Sebastián Ramírez 1c975c7f2d 📝 Update release notes 2020-01-19 13:27:07 +01:00
Sebastián Ramírez 44d8a4358b 🔖 Release version 0.4.0 2019-05-29 09:49:17 +04:00
Sebastián Ramírez 9b4108fdae 📝 Update release notes 2019-05-29 09:48:28 +04:00
Sebastián Ramírez b4fa418e65 🔒 Receive token as body in reset password (#34) 2019-05-29 09:47:59 +04:00
Sebastián Ramírez a612765b83 📝 Update release notes, clarify text 2019-05-29 09:35:13 +04:00
Sebastián Ramírez de7140f1e7 📝 Update release notes 2019-05-29 09:27:04 +04:00
Sebastián Ramírez eae33cda72 📝 Update release notes 2019-05-22 15:30:51 +04:00
Sebastián Ramírez 6fc9a37eb5 📝 Update release notes 2019-05-22 15:21:02 +04:00
Sebastián Ramírez 5216fcfd77 📝 Update release notes 2019-05-04 00:04:30 +04:00
Sebastián Ramírez 8ce745b7ef 📝 Update release notes 2019-05-03 23:52:42 +04:00
Sebastián Ramírez 6bbd58c76f 📝 Update docs for running tests live 2019-05-03 23:52:23 +04:00
Sebastián Ramírez 45317e54c7 📝 Update release notes 2019-04-24 22:46:09 +04:00
Sebastián Ramírez 47e0fe56e3 ⬆️ Upgrade Jupyter to use Lab, update util/env var for local development 2019-04-24 22:45:20 +04:00
Sebastián Ramírez 42ee0fe0ba 📝 Update release notes 2019-04-20 19:59:47 +04:00
Sebastián Ramírez 92b757fc96 ♻️ Create Item from all fields in Pydantic model 2019-04-20 19:57:34 +04:00
Sebastián Ramírez 5dd83c6350 🔧 Update development scripts 2019-04-20 19:24:57 +04:00
Sebastián Ramírez f365a4d026 🔖 Release 0.3.0 2019-04-19 09:46:18 +04:00
Sebastián Ramírez ecd634e497 Add Items (crud, models, endpoints), utils, refactor (#14)
* Update CRUD utils to use types better.
* Simplify Pydantic model names, from `UserInCreate` to `UserCreate`, etc.
* Upgrade packages.
* Add new generic "Items" models, crud utils, endpoints, and tests. To facilitate re-using them to create new functionality. As they are simple and generic (not like Users), it's easier to copy-paste and adapt them to each use case.
* Update endpoints/*path operations* to simplify code and use new utilities, prefix and tags in `include_router`.
* Update testing utils.
* Update linting rules, relax vulture to reduce false positives.
* Update migrations to include new Items.
* Update project README.md with tips about how to start with backend.
2019-04-19 09:45:23 +04:00
Sebastián Ramírez 1fe4908b0a 📝 Update release notes 2019-04-16 21:39:13 +04:00
Sebastián Ramírez cf5516cda6 📝 Update release notes section 2019-04-11 21:45:52 +04:00
Sebastián Ramírez 151f7ed79b 🐛 Fix frontend hijacking /docs in development (#6)
* 🐛 Fix frontend hijacking /docs in development

* 🐛 Fix frontend Dockerfile copying Nginx config
2019-04-11 21:45:07 +04:00