---
title: Guides
description: Step-by-step recipes for running, extending, and operating PharmaFlow.
---

These guides are task-first. Pick the one that matches what you want to do today.

### Which guide do I need?

- **Just want it running** - start with [Running the platform](/guides/running-the-platform).
- **Adding a backend endpoint** - follow [Adding an endpoint](/guides/adding-an-endpoint).
- **Learning the counter flow** - walk [Selling end to end](/guides/selling-end-to-end).
- **Building offline support** - follow [Offline-first flow](/guides/offline-first-flow).

**[Running the platform](/guides/running-the-platform)**

Boot the server and register, seed the demo, and verify with the health check.

**[Adding an endpoint](/guides/adding-an-endpoint)**

Add a feature route with auth, validation, audit, and sync emission.

**[Selling end to end](/guides/selling-end-to-end)**

Open a session, park a cart, apply DEMO10, close, and reconcile.

**[Offline-first flow](/guides/offline-first-flow)**

Register a device, queue sales offline, push, pull, and bootstrap.
