You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deploy site + cookbook: Add comprehensive RustAPI cookbook documentation
Introduces a new, structured documentation set for RustAPI, including sections on getting started, core concepts, crate deep dives, and practical recipes. Updates SUMMARY.md to reflect the new organization and adds detailed guides on handlers, performance, testing, crate internals, and common development tasks such as CRUD resources, JWT authentication, database integration, file uploads, middleware, and production tuning. 3eb5c23
<ahref="https://github.com/Tuntii/RustAPI/edit/master/docs/cookbook/src/architecture/testing_strategy.md" title="Suggest an edit" aria-label="Suggest an edit" rel="edit">
150
+
<ahref="https://github.com/Tuntii/RustAPI/edit/master/docs/cookbook/src/crates/README.md" title="Suggest an edit" aria-label="Suggest an edit" rel="edit">
<h2id="2-integration--flow-tests-the-middle"><aclass="header" href="#2-integration--flow-tests-the-middle">2. Integration / Flow Tests (The Middle)</a></h2>
198
-
<p><strong>Where</strong>: <code>tests/integration/</code> and specific “Action” tests.
199
-
<strong>Goal</strong>: Verify that components work together. Does the Action talk to the database correctly?
200
-
<strong>Mocking</strong>: We use mocking for external services (Stripe, AWS) but favor real database containers (Testcontainers) for data integrity.</p>
201
-
<h2id="3-end-to-end--benchmarks-the-top"><aclass="header" href="#3-end-to-end--benchmarks-the-top">3. End-to-End & Benchmarks (The Top)</a></h2>
202
-
<p><strong>Where</strong>: <code>benches/</code> and CI simulation scripts.
203
-
<strong>Goal</strong>: Performance verification and full system sanity.
204
-
<strong>Tool</strong>: <code>check_quality.ps1</code> runs the full suite.</p>
<p>Dead code is technical debt. Use the quality check script to find and eliminate unused logic regularly.</p>
187
+
<p>This section is for those who want to understand the framework’s internal organs. You don’t need to know this to <em>use</em> RustAPI, but it helps if you want to <em>master</em> it.</p>
214
188
</blockquote>
189
+
<p>RustAPI is a collection of focused, interoperable crates. Each crate has a specific philosophy and “Lens” through which it views the world.</p>
190
+
<ul>
191
+
<li><strong><ahref="rustapi_core.html">rustapi-core</a></strong>: The Engine</li>
192
+
<li><strong><ahref="rustapi_macros.html">rustapi-macros</a></strong>: The Magic</li>
193
+
<li><strong><ahref="rustapi_validation.html">rustapi-validate</a></strong>: The Gatekeeper</li>
0 commit comments