Skip to content

Quickstart

Take the level test, open your first lesson, do its exercise on your project and see it checked.

Applies to Cloud
View as Markdown
On this page
  1. Open Learn
  2. Watch or read the lesson
  3. Start the exercise
  4. Do it
  5. Check it
  6. Keep it or let it go

At the end you will have finished your first lesson, with its exercise on a branch of your project and a note in your memory that says so. The example is Ana’s bakery, La Espiga.

  1. Open Learn

    In App, open Learn from the products menu, or go to https://learn.app.sypnia.com. If you have not taken the short level test yet, Learn asks you to take it first: about ten questions, five minutes.

    You should see
    Your path, with the first lesson suggested: «Failures have names».
  2. Watch or read the lesson

    The lesson explains why «Order for today» names what can go wrong (OutOfStock, Closed) and what the customer reads each time. It uses your own map; Ana sees her own bakery’s case.

  3. Start the exercise

    Choose Start the exercise, or in a terminal:

    Terminal
    npx @sypnia/app login
    npx @sypnia/learn start failures-have-names --project la-espiga
    You should see
    Branch learn/failures-have-names created in la-espiga. What to do: LEARN.md
  4. Do it

    The exercise asks for a new case, «Cancel an order until 10 am», with the failure that tells the customer it is too late. Ana asks the agent in App for help; it gives hints at her level and proposes the case, and she approves it:

    cases/orders/cancel-order.case.yaml
    id: cancel-order
    title: Cancel an order until 10 am
    actor: customer
    goal: Cancel a pick-up order made by mistake
    where: shop.my-orders.order-detail
    failures:
      - name: TooLate
        when: it is 10 am or later on the pick-up day
        tell: «It's too late to cancel. Call us and we will help.»
  5. Check it

    Choose Check, or:

    Terminal
    npx @sypnia/learn check
    You should see

    cases check ✓ · case cancel-order ✓ · failure TooLate ✓ · question ✓ — lesson done

  6. Keep it or let it go

    The branch is yours. Open a pull request to keep the new case in your project, or delete the branch. Either way, the lesson stays done.

Next: the path suggests the following lesson. See The paths.

  1. Open Learn
  2. Watch or read the lesson
  3. Start the exercise
  4. Do it
  5. Check it
  6. Keep it or let it go

    Search pages, sections and terms