# Rewake API The Rewake API connects Rewake's tools to its data. Airtable is the source of truth for the catalog, purchases and sales; Shopify is the shop. The API reads and writes both for: - **RewakeApp** (app.rewake.fr): the internal tool (catalog intake, receiving, scripts, payroll…); - **RewakeInfo** (info.rewake.fr): public forms (buy-back proposals, UltiMate 3000 offers); - **the Chrome extension**: contacts and deals from the browser; - **Airtable automations and buttons**: Shopify updates, PDF documents; - **n8n workflows** on the same server (the API also calls n8n to send some e-mails); - **partners**: HelloPro and Machinio product feeds. It is a FastAPI application, with a Celery worker for long and scheduled jobs. ## Documentation | Page | Read it to | |---|---| | [Installation](installation.md) | run the API on your machine | | [Configuration](configuration.md) | know every setting (`.env`) | | [Architecture](architecture.md) | understand how the code is organised, and its conventions | | [Contributing](contributing.md) | make a change: branches, tests, style | | [Deployment](deployment.md) | put a version in production, or roll back | | [Troubleshooting](troubleshooting.md) | fix the usual problems | | [n8n automations](n8n/index.md) | the n8n workflows: what each does, its links with the API, its failures | | [Variation pricing](prix-variations.md) | the sale-price model (French) | The **Source code** section is the reference generated from the docstrings of `api/`, `ocr/` and `scripts/`: every module, class and function, searchable from the search box. The interactive list of routes is served by the API itself at `/docs` (Swagger) and `/redoc`. ```{toctree} :hidden: :caption: Guide installation configuration architecture contributing deployment troubleshooting ``` ```{toctree} :hidden: :caption: Topics n8n/index prix-variations ``` ```{toctree} :hidden: :caption: Source code reference/api/index reference/ocr/server/index reference/scripts/index ```