9ecef4c25f
This PR does too many things :( 1. Major refactoring of the dev/scripts and dev/code-generation folders. Primarily this was removing duplicate code and cleaning up some poorly written code snippets as well as making them more idempotent so then can be re-run over and over again but still maintain the same results. This is working on my machine, but I've been having problems in CI and comparing diffs so running generators in CI will have to wait. 2. Re-Implement using the generated api routes for testing This was a _huge_ refactor that touched damn near every test file but now we have auto-generated typed routes with inline hints and it's used for nearly every test excluding a few that use classes for better parameterization. This should greatly reduce errors when writing new tests. 3. Minor Perf improvements for the All Recipes endpoint A. Removed redundant loops B. Uses orjson to do the encoding directly and returns a byte response instead of relying on the default jsonable_encoder. 4. Fix some TS type errors that cropped up for seemingly no reason half way through the PR. See this issue https://github.com/phillipdupuis/pydantic-to-typescript/issues/28 Basically, the generated TS type is not-correct since Pydantic will automatically fill in null fields. The resulting TS type is generated with a ? to indicate it can be null even though we _know_ that i can't be. |
||
---|---|---|
.devcontainer | ||
.github | ||
.vscode | ||
alembic | ||
dev | ||
docs | ||
frontend | ||
mealie | ||
tests | ||
.dockerignore | ||
.flake8 | ||
.gitattributes | ||
.gitignore | ||
.pre-commit-config.yaml | ||
.pylintrc | ||
alembic.ini | ||
cliff.toml | ||
crowdin.yml | ||
docker-compose.dev.yml | ||
docker-compose.yml | ||
Dockerfile | ||
gunicorn_conf.py | ||
LICENSE | ||
makefile | ||
netlify.toml | ||
poetry.lock | ||
pyproject.toml | ||
README.md | ||
runtime.txt | ||
SECURITY.md | ||
template.env |
Mealie
A Place for All Your Recipes
Explore the docs »
View Demo
·
Report Bug
·
Docker Hub
About The Project
Mealie is a self hosted recipe manager and meal planner with a RestAPI backend and a reactive frontend application built in Vue for a pleasant user experience for the whole family. Easily add recipes into your database by providing the url and Mealie will automatically import the relevant data or add a family recipe with the UI editor. Mealie also provides an API for interactions from 3rd party applications.
Contributing
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated. If you're going to be working on the code-base you'll want to use the nightly documentation to ensure you get the latest information.
- See the Contributors Guide for help getting started.
- We use VSCode Dev Containers to make it easy for contributors to get started!
If you are not a coder, you can still contribute financially. financial contributions help me prioritize working on this project over others and helps me know that there is a real demand for project development.
License
Distributed under the MIT License. See LICENSE
for more information.
Sponsors
Huge thanks to all the sponsors of this project on Github Sponsors and Buy Me a Coffee. Without you this project would surely not be possible.
Thanks to Linode for providing Hosting for the Demo, Beta, and Documentation sites! Another big thanks to JetBrains for providing their IDEs for development.