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
Find a file
Hayden 9ecef4c25f
chore: file generation cleanup (#1736)
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.
2022-10-18 14:49:41 -08:00
.devcontainer dev: improve container setup and pre-configure linters (#1577) 2022-08-19 11:43:06 -08:00
.github fix: image and CI errors (#1694) 2022-10-02 16:24:13 -08:00
.vscode add security.md 2022-05-31 08:29:45 -08:00
alembic feat: add support for API extras on shopping lists, shopping list items, and food data (#1619) 2022-09-27 18:53:22 -08:00
dev chore: file generation cleanup (#1736) 2022-10-18 14:49:41 -08:00
docs feat: add support for API extras on shopping lists, shopping list items, and food data (#1619) 2022-09-27 18:53:22 -08:00
frontend chore: file generation cleanup (#1736) 2022-10-18 14:49:41 -08:00
mealie chore: file generation cleanup (#1736) 2022-10-18 14:49:41 -08:00
tests chore: file generation cleanup (#1736) 2022-10-18 14:49:41 -08:00
.dockerignore Feature/CRF++ and server side locales (#731) 2021-10-09 13:08:23 -08:00
.flake8 capture #1043 (#1055) 2022-03-15 12:51:15 -08:00
.gitattributes v0.2.0 (#143) 2021-02-08 09:47:40 -09:00
.gitignore chore: file generation cleanup (#1736) 2022-10-18 14:49:41 -08:00
.pre-commit-config.yaml chore: upgrade pre-commit hooks (#1735) 2022-10-17 14:37:06 -08:00
.pylintrc Feature/group based notifications (#918) 2022-01-09 21:04:24 -09:00
alembic.ini Chore/update alembic file format (#1056) 2022-03-15 13:11:22 -08:00
cliff.toml chore: init git-cliff config 2022-05-29 17:34:41 -08:00
crowdin.yml fix: for erroneously-translated datetime config (#1362) 2022-06-09 08:54:41 -08:00
docker-compose.dev.yml docs: docker-compose.dev.yml is currently not functional (#1300) 2022-05-27 16:17:47 -08:00
docker-compose.yml feat: extend email support for SSL/No Auth Email Support (#1235) 2022-05-21 11:15:14 -08:00
Dockerfile chore: update poetry install to match current docs (#1695) 2022-10-02 16:47:10 -08:00
gunicorn_conf.py feature/multi-tenancy and move caddy server (#980) 2022-02-20 14:17:51 -09:00
LICENSE Change Mealie license to AGPLv3 (#1213) 2022-05-09 13:11:26 -08:00
makefile chore: file generation cleanup (#1736) 2022-10-18 14:49:41 -08:00
netlify.toml docs: add docs on restoring to PSQL server (#1584) 2022-08-20 11:53:48 -08:00
poetry.lock chore: file generation cleanup (#1736) 2022-10-18 14:49:41 -08:00
pyproject.toml chore: file generation cleanup (#1736) 2022-10-18 14:49:41 -08:00
README.md docs: fix old link 2022-06-26 19:39:35 -08:00
runtime.txt test ci/cd 2021-08-04 09:58:51 -08:00
SECURITY.md add security.md 2022-05-31 08:29:45 -08:00
template.env feat: LDAP improvements (#1487) 2022-09-15 19:33:36 -08:00

Contributors Forks Stargazers Issues MIT License Docker Pulls CodeFactor


Mealie

A Place for All Your Recipes
Explore the docs »
View Demo · Report Bug · Docker Hub

Product Name Screen Shot

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.

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.

Buy Me A Coffee

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.