# Project Notes — practice pack

Fictional teaching example. No finished app or real payments.
Use a disposable local folder and test data. Do not put keys or personal data in this document.

## Brief
Audience: someone collecting project decisions and exporting them.
Goal: create a personal note, find it again and export with active access.
Outside the first version: teams, attachments, AI summaries, native apps.
Journey: registration → first note → test payment → confirmed export access.

## Acceptance criteria
- A signed-in user can create and read their own notes.
- Empty notes receive a clear client message and server validation.
- User A cannot read or export B's notes, including through direct requests.
- The server rejects export without active access.
- Test payment unlocks export only after server-confirmed payment status.
- Abandoned checkout gives no access. Repeated payment events have no duplicate effect.
- Cancellation respects the paid period. Specify a failed-renewal policy explicitly.

## Tasks
1. Define the rules and sketch the journey.
2. Build the notes journey locally, without real integrations.
3. Add a database and server ownership checks in an isolated test environment.
4. Connect payment-provider test mode and verify events.
5. Review changes, run tests and verify the preview before publication.

## Test plan — enter actual results
| Case | Expected | Actual | Evidence | Status |
| --- | --- | --- | --- | --- |
| Create and open own note | Saved and readable | | | Not run |
| Empty note | Clear rejection | | | Not run |
| User A requests B's note | Server rejects request | | | Not run |
| Export without active access | Server rejects export | | | Not run |
| Confirmed test purchase | Right user gains export access | | | Not run |
| Abandoned checkout | No new access | | | Not run |
| Same event twice | No duplicate effect | | | Not run |
| Events arrive out of order | Access follows confirmed current status | | | Not run |
| Failed renewal | Follows documented grace period / policy | | | Not run |
| Cancellation / expiry | Respects the paid period | | | Not run |

## Before you launch
- [ ] Record the commit, environment and verification date.
- [ ] Review the PR and resolve blocking findings.
- [ ] Check server validation, ownership and payment events.
- [ ] Verify that the preview does not use production data.
- [ ] Establish backup, recovery and error follow-up.
- [ ] Have another person try the journey.
- [ ] Verify the delivered version after publication.

Code rollback does not restore the database. A completed checklist does not guarantee security.

## Work log
Commit:
Environment / database / service mode:
Date and tester:
Open findings:
Decision and next step:

Guide: https://alexndrxc.com/en/guides/fra-ide-til-app/
