Skip to content
Jupiter documentation
Menu

From Flask to Workers

What the 2026 rewrite changed and which parts of the 2021 contract it kept.

The 2021 implementation was Python 3, Flask, Peewee and Postgres behind Docker Compose, with pytest and a Postman collection. The 2026 rewrite targets Cloudflare Workers and D1 and drops Docker entirely.

Stack#

Kept from the 2021 API#

  • Paths, including the /recipes/:page and /recipes/id/:id shapes.
  • Response keys: Recipe, Ingredient, recipes-classification, recipe-review, weekly-menu-review, WeeklyMenu, users, with the same capitalisation.
  • Pagination of 10 rows per page with meta.page, meta.per_page and meta.page_url.
  • Soft deletes through is_publish, customer deactivation through is_active, and 400 for resources other rows depend on.
  • 404 for an empty list or a missing row, and a 30-minute token.

Changed on purpose#

What stayed behind#

data/ holds the assignment's sample payloads, and PostmanCollectionE2ETestDev.json the 2021 E2E collection. Both still describe this API.

Source: belikh/hello-fresh-API HEAD