Tutorials
A hands-on guide to SPLENT, from your first product to advanced feature refinement. Each tutorial builds on the previous one. By the end, you’ll have created a feature from scratch, tested it, deployed it to production, and extended it with refinement.
| # | Tutorial | Time | What you’ll learn |
|---|---|---|---|
| 1 | Your first product | 15 min | Create a product from an SPL, configure features interactively, derive and launch |
| 2 | Exploring your product | 10 min | Understand the composition (xray, feature order, doctor, SPL queries) |
| 3 | Create a feature (notes) | 30 min | Build a feature from scratch (model, service, route, hooks, UVL integration) |
| 4 | Testing | 20 min | Write unit, integration, and functional tests for your feature |
| 5 | Release and deploy | 20 min | Publish to PyPI, pin a version, deploy to production |
| 6 | Extend with refinement (tags) | 30 min | Override a service, extend a model, add routes (the refinement system) |
| 7 | Frontend refinement | 20 min | Override templates, replace hooks, custom JS (frontend extensibility) |
Prerequisites. Complete Getting started before beginning. You should have the workspace set up and Docker running.
The running example through all tutorials is splent_feature_notes, a simple note-taking feature that depends on auth. You’ll create it, test it, release it, deploy it, and extend it with tags.